Operating System - HP-UX
1753783 Members
6847 Online
108799 Solutions
New Discussion юеВ

Max filename length for HP-UX mounted CDROM filesystems is 38 chars?

 
John Rayl
Occasional Advisor

Max filename length for HP-UX mounted CDROM filesystems is 38 chars?

On Linux RH8.0, using mkisofs/cdrecord, I burned a CDROM with filenames longer than 38 chars(including .xxx extension). The extension length is preserved and the filename BEFORE the "." is trucated down so that the entire filename (filename.xxxxx)

Create image:
mkisofs -z -U -d -D -N -max-iso9660-filenames -l -relaxed-filenames -allow-multidot -allow-lowercase -iso-level 3 -o cdrom.iso -R ./data-dir

Then burned it to the CD-R:
cdrecord dev="0,0,0" fs=4096k -v -useinfo speed=1 -dao -eject -pad -data ./cdrom.iso

I can see everything fine full length filenames on a Windows XP/2000/3, Linux and on Mac OS X(10.3.6).

However, when mounted under HP-UX 11.11 the filenames that are longer than 37 chars are trucated BEFORE the extension.

I have the latest Rock Ridge extension patches on 11.11.
I mount the CD: mount /dev/dsk/c0t0d0 /cd


To recap:
Mounted on Windows/Linux/Mac-OSX you see it all:
i-want-this-foo-bar-is-for-me-too-today.exten

Under HP-UX the filename is trucated to 38 chars while retaining the extension length:
i-want-this-foo-bar-is-for-me-.extens

And my question: Is this a limitation of HP-UX?

If not,
How do I either mount the CDROM to see the full length filenames over 38 chars?
OR
How do I create the image(mkisofs) and/or burn(cdrecord) it so I can mount it under HP-UX and see the full length filenames over 38 chars?

Thanks all,

John Rayl
HP Roseville, CA
2 REPLIES 2
bhavin asokan
Honored Contributor

Re: Max filename length for HP-UX mounted CDROM filesystems is 38 chars?

hi,

did you try with pfs mount.
#nohup /usr/sbin/pfs_mountd &
#nohup /usr/sbin/pfsd &
#pfs_mount /dev/dsk/c0t0d0 /cd

use pfs_umount to umount the cd.

see the following link also

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=142040

regds,
Ermin Borovac
Honored Contributor

Re: Max filename length for HP-UX mounted CDROM filesystems is 38 chars?

>>> I have the latest Rock Ridge extension patches on 11.11.
>>> I mount the CD: mount /dev/dsk/c0t0d0 /cd

Please try the following as default is not to use rock ridge extension.

# mount -F cdfs -o rr /dev/dsk/c0t0d0 /cd