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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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. |
| |||
| 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 |
| |||
| 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 ? |
| |||
| 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 |
| |||
| 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. |
| ||||
| 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. |