Re: How can I see long file names on Windows CD under Solaris ?



Dave wrote:
Bill Waddington wrote:
On Sun, 04 Jan 2009 15:57:52 +0000, Dave <foo@xxxxxxx> wrote:

I've got a windows CD which has long file names. If I stick it in the CD drive of my Blade 2000, so it mounts automatically, but only with 8.3 filenames visible.


With a SunPCi hard fitting in the Sun, it sees the full names correctly.

I've created some ISO file systems, using:


mkisofs -J -joliet-long -R -o mycd.iso some_directory

(NB, these options are:
-joliet-long Allow Joliet file names to be 103 Unicode characters
-J, -joliet Generate Joliet directory information
-R, -rock Generate Rock Ridge directory information
-o FILE, -output FILE Set output file name
)


If I then mount that with lofiadm, or write it to a CD, only short (8.3) files names are seen in Solaris. If I stick the CD in a Windows PC, so the full length file names are seen.

Any idea how I can view this (and change file names) under Solaris?


While you're waiting for someone with a clue, what does -l (ell)
instead of -joliet-long do for you? And/or -udf? -l should give
you 31 char filenames IIRC.

Over on the windows side (the shame, the shame) I burn UDF/ISO bridge
CDs to get around this problem. I'm not sure what the mkisofs
equivalent is.

Just a WAG,
Bill

Thanks Bill. I created an image with:

$ mkisofs -l -R -o mycd.iso mydir

then used lofiadm to mount it:

# lofiadm -a /tmp/mycd.iso
/dev/lofi/1
# mount -f hsfs /dev/lofi/1 /mnt

This mounted ok. Long file names are working. However, I'm not sure if the 31 characters permitted by -l will be sufficient. I have a load of Windows CDs and want to combine several onto a DVD. I suspect some of them use file names longer than 31 characters, but I can't say for sure.

I don't know if it is sensible to combine -joliet-long and -l, so 31 characters work on Solaris, and longer on Windows.

BTW, do you know the maximum length of the volume ID? mkisofs has options for this:

-V ID, -volid ID Set Volume ID
-volset ID Set Volume set ID
-volset-size # Set Volume set size
-volset-seqno # Set Volume set sequence number

but I've no idea what are sensible limits.

Dave

Bill, for me at least, the following seems allows 'long' names to be read on both Windows and Solaris, when writing the image with cdrw on Solaris:


$ mkisofs -l -V "Volume ID up to 32 characters" -o mycd.iso -R -joliet-long directory_containing_files

$ cdrw -i mycd.iso

I suspect file names are limited to 31 letters on Solaris, but perhaps longer (103 ?) on Windows. Either way, it is a definite improvement over what I had before.









--
I respectfully request that this message is not archived by companies as
unscrupulous as 'Exchange Experts'. In case you are unaware, 'Exchange Experts'
take questions posted on the web and try to find idiots stupid enough to
pay for the answers, which were posted freely by others. They are leeches.
.



Relevant Pages