Operating System - HP-UX
1848535 Members
4361 Online
104033 Solutions
New Discussion

About pfs_mount and iso9660

 
xiandao
Occasional Advisor

About pfs_mount and iso9660

I use command :
pfs_mount -t pfs-iso9660 -o xlat=unix /dev/dsk/c0t1d0 /cdrom
then found some file added a dot at the end.

I heard ISO9660 filenames must contain at least one dot and ordinarily files with no dots will have a dot added to the end.

But I cannot find the solution.
Pls help
4 REPLIES 4
Joseph Loo
Honored Contributor

Re: About pfs_mount and iso9660

hi,

do you mind trying this:

1. create file, /etc/pfs_fstab
2. add entry to /etc/pfs_fstab
# "device name" /cdrom pfs-rrip xlat=unix 0 0
3. run pfs daemon at the background
# nohup /usr/sbin/pfs_mountd &
# nohup /usr/sbin/pfsd &
4. start nfs server
# /sbin/init.d/nfs.server start
5. mount and unmount file system
# pfs_mount /cdrom
# pfs_umount /cdrom

hope this method helps.

regards.
what you do not see does not mean you should not believe
Robert-Jan Goossens
Honored Contributor

Re: About pfs_mount and iso9660

Hi,

My CD-ROM doesn't show what I expect
It can be an Oracle CD-ROM, or a CD created on Windows, or whereever they used Rock Ridge extensions. Long names are truncated or show upper case only. Oracle tells you to use pfs_mount.

Do not use pfs_mount!. Install the Rock-Ridge extension patches instead and never worry about these problems. For HP-UX 11.00 you will need forget all about PFS and install PHKL_26448 (now superceded by PHKL_28060), PHCO_26449, and PHKL_26450 to have HP-UX recognize those file systems automatically on mount! For HP-UX 11.11 (11i) you need PHCO_25841, PHKL_26269, and PHKL_25760 (now superceded by PHKL_28025).

No need thereafter to use -o cdfs to mount anymore, provided you enter the CD drive in /etc/fstab like this:

/dev/cd0 /cdrom cdfs ro,rr,noauto 0 0

http://mirrors.develooper.com/hpux/

Hope this helps,
Robert-Jan
Jim Butler
Valued Contributor

Re: About pfs_mount and iso9660

do what Jo said (start the pfs daemons)

Here are some pfsmount syntax's I use

Note - cxxx - si like your c0t0d0
Oracle CD's
pfs_mount -t

pfs_mount -t rrip -x unix /dev/rdisk/cxxxx /SD_cdrom

pfs_mount -t iso9660 -x dot_version -x unix /dev/rdsk/cxxx /SD_CDROM

Standard burned CD's -
-t iso9660 -x unix /dev.....
-t iso9660 -t rrip /dev....
-t iso9660 -xlat=unix:dot_version:lower_case /dev/rdsk/cxxx /SD_CDROM

Sometimes I get hung, and cannot unmount cd's, so I use the pfs_umount -c /dev/rdsk/cxxx


Generally though, as mentioned above, if you are able to apply the patches, they help a great deal.

Man The Bilge Pumps!
xiandao
Occasional Advisor

Re: About pfs_mount and iso9660

Thanks
I'll try with the 2 ways,
after, publish the rusult.