Unix Technical Forum

mkisofs with long name files

This is a discussion on mkisofs with long name files within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hi all, Someone can help me to do a mkisofs of bff filesets with the full file name. I've ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 12:49 PM
charles.thise@scarlet.be
 
Posts: n/a
Default mkisofs with long name files

Hi all,

Someone can help me to do a mkisofs of bff filesets with the full file
name.

I've already tried to do this in -rock-ridge, in iso-level 3, also
with the following parameters :

-graft-points -U -iso-level 3 -max-iso9660-filenames -o sp5.iso *bff
but without any good result!

My current method is :

- do a mkisofs on the aix machine
- send by ftp the output file on my laptop
- open the iso file with winrar or winiso

At this time, all long name file are cut at 30 chars. even with
mkisofs -R or -r (same result).

Any help will be appreciated.

Thx,
Charles.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 12:49 PM
Laurenz Albe
 
Posts: n/a
Default Re: mkisofs with long name files

charles.thise@scarlet.be wrote:
> Someone can help me to do a mkisofs of bff filesets with the full file
> name.
>
> I've already tried to do this in -rock-ridge, in iso-level 3, also
> with the following parameters :
>
> -graft-points -U -iso-level 3 -max-iso9660-filenames -o sp5.iso *bff
> but without any good result!
>
> My current method is :
>
> - do a mkisofs on the aix machine
> - send by ftp the output file on my laptop
> - open the iso file with winrar or winiso
>
> At this time, all long name file are cut at 30 chars. even with
> mkisofs -R or -r (same result).
>
> Any help will be appreciated.


I think that all these fancy options are not needed - just use
Rock Ridge extensions. They are enabled by default, but you can -force-rr
if you are in doubt. Usually -r is a good idea.

I guess your problem is that winrar and winiso cannot handle Rock Ridge
extensions (I do not know this, I only deduce it from the first three
characters of the program names).

If you mount the resulting CD on an AIX system, it will probably look fine.

If you have Linux at hand, you can test by directly mounting the ISO
image (options -t iso9660 -o ro,loop=/dev/loop0).

If you want to use the CDROM on a Windows system, enable Joliet extensions
with -J.

Yours,
Laurenz Albe
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 12:49 PM
Michael Kraemer
 
Posts: n/a
Default Re: mkisofs with long name files

Laurenz Albe schrieb:

> I think that all these fancy options are not needed - just use
> Rock Ridge extensions. They are enabled by default, but you can -force-rr
> if you are in doubt. Usually -r is a good idea.


Maybe I've overlooked sth but some time ago I tried
to archive a couple of bff sets onto a CD.
None of the mkisofs options were sufficient
to prevent crippling of those overlong filenames, which most probably
would have made the CD not installp'able.
IBMs original CD filesets OTOH always have "encrypted" (sort of)
filenames to fit within the naming schemes.
Is there a (automatic) way to transform long filenames into
the Uxxxxx scheme ?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 12:49 PM
Paul Landay
 
Posts: n/a
Default Re: mkisofs with long name files

Michael Kraemer wrote:
> Laurenz Albe schrieb:
>
>> I think that all these fancy options are not needed - just use
>> Rock Ridge extensions. They are enabled by default, but you can -force-rr
>> if you are in doubt. Usually -r is a good idea.

>
>
> Maybe I've overlooked sth but some time ago I tried
> to archive a couple of bff sets onto a CD.
> None of the mkisofs options were sufficient
> to prevent crippling of those overlong filenames, which most probably
> would have made the CD not installp'able.
> IBMs original CD filesets OTOH always have "encrypted" (sort of)
> filenames to fit within the naming schemes.
> Is there a (automatic) way to transform long filenames into
> the Uxxxxx scheme ?
>


The Uxxxxxxx name is 'U' for Update and xxxxxxx is the
PTF number that update fixes. There is no magic to
the name, it comes from a static table which maps PTF
numbers to APAR numbers.

Here is the mkisofs command I use to create a
'product' CD that contains Windows, Linux, and
AIX install images:
cd MYProductTree
mkisofs -o ../MYCD.iso -v -d -D -U -J -R -f .
That CD is not bootable, but the tree is readable
on all those platforms (Windows, Linux, AIX) and
in my case the tree contains some rather long
filenames (but the bff names are all short).

Have you tried doing a 'smit bffcreate' to rename
your installp images and then build the CD with
those newly-named files (and the .toc created by
the bffcreate command)?

Paul Landay
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-05-2008, 12:49 PM
charles.thise@scarlet.be
 
Posts: n/a
Default Re: mkisofs with long name files

Many thanks for your answers...

I've already tried to do a bffcreate before but after the mkisofs of
the result of bffcreate (the names are also too long), i get some
broken name also...

But when i have time (as soon as possible) I'm going to try the last
proposal with options :-v -d -D -U -J -R -f ... I will see and I keep
you informed about the result.

Also I'm going to mount the cd directly on an AIX machine or Linux
I've both.

Thx again,

Charles.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-05-2008, 12:50 PM
charles.thise@scarlet.be
 
Posts: n/a
Default Re: mkisofs with long name files

On 16 juin, 18:08, charles.th...@scarlet.be wrote:
> Many thanks for your answers...
>
> I've already tried to do a bffcreate before but after the mkisofs of
> the result of bffcreate (the names are also too long), i get some
> broken name also...
>
> But when i have time (as soon as possible) I'm going to try the last
> proposal with options :-v -d -D -U -J -R -f ... I will see and I keep
> you informed about the result.
>
> Also I'm going to mount the cd directly on an AIX machine or Linux
> I've both.
>
> Thx again,
>
> Charles.


I've tried all parameters given by Paul Landay (mkisofs -o ../MYCD.iso
-v -d -D -U -J -R -f .), and it works fine...
Many thanks to him.

For your information, winrar and winiso can read easily the iso image
also on AIX as well.

Charles.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:43 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com