Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

mkisofs with long name files

555 views
Skip to first unread message

charle...@scarlet.be

unread,
Jun 14, 2007, 10:47:34 AM6/14/07
to
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.

Laurenz Albe

unread,
Jun 15, 2007, 4:29:23 AM6/15/07
to

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

Michael Kraemer

unread,
Jun 16, 2007, 4:03:49 AM6/16/07
to
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 ?

Paul Landay

unread,
Jun 16, 2007, 6:39:56 AM6/16/07
to

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

charle...@scarlet.be

unread,
Jun 16, 2007, 12:08:17 PM6/16/07
to
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.

charle...@scarlet.be

unread,
Jun 25, 2007, 2:55:56 AM6/25/07
to

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.

0 new messages