Operating System - HP-UX
1820143 Members
3267 Online
109620 Solutions
New Discussion юеВ

Re: URGENT need - mount cdrom syntax

 
James Dorminey
Occasional Contributor

URGENT need - mount cdrom syntax

when mounting my cdrom on HP-UX 10.20 with:
mount /dev/dsk/c#t#d# /cdrom
the files in the mounted dir are all displayed as "FILENAME.;1"

by adding the -F cdfs -o cdcase,nosuid options to the mount command correctly displays the file names in lower case without the ;1 like "filename."

How do I get rid of the "." at the end of the filename?
9 REPLIES 9
Alzhy
Honored Contributor

Re: URGENT need - mount cdrom syntax

The CD probably was encoded with Joliet (Microsoft Long Filenames) extensions. Have you tried on 11i? Linux and Solaris 9 now correctly mounts Joliet CD's...
Hakuna Matata.
James Dorminey
Occasional Contributor

Re: URGENT need - mount cdrom syntax

Not on 11i.
It has to be on this 10.20 system
Alzhy
Honored Contributor

Re: URGENT need - mount cdrom syntax

Have you tried -F hsfs option? Or is it the same as cdfs?
Hakuna Matata.
Geoff Wild
Honored Contributor

Re: URGENT need - mount cdrom syntax

I think you will have to use pfs_mount

ps -ef |grep pfs

if nothing, then:

pfs_mountd &
pfsd &

pfs_mount /dev/dsk/c0t0d0 /cdrom

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
James Dorminey
Occasional Contributor

Re: URGENT need - mount cdrom syntax

the pfs_mount appears to not be registered on this server
A. Clay Stephenson
Acclaimed Contributor

Re: URGENT need - mount cdrom syntax

You must have nfs running on your box for pfs to work.

Edit the file /etc/rc.confid.d/nfs.conf and set NFS_SERVER=1 and NFS_CLIENT=1.

Next, cd to /sbin/init.d
./nfs.server start
./nfs.client start

Next create a file /etc/pfs_fstab
with the following syntax substituting your device node and mountpoint:
/dev/dsk/c3t2d0 /cdrom pfs-rrip xlat=unix 0 0

If pfsd and/or pfs_mountd are already running, kill them.
Next,
nohup pfs_mountd &
nohup pfsd &
pfs_mount /cdrom

You should now be good to go.

When finished,
pfs_umount /cdrom
and then kill pfsd and pfs_mountd.
If it ain't broke, I can fix that.
James Dorminey
Occasional Contributor

Re: URGENT need - mount cdrom syntax

It's telling me pfs_mount is not the owner of cdrom
A. Clay Stephenson
Acclaimed Contributor

Re: URGENT need - mount cdrom syntax

pfs_mount is rather notorious for getting itself confused especially if you didn't cleanly umount or had trouble starting the daemons. Unfortunately, about the only cure is to reboot. The good news is that if your have the NFS daemons running now, it should work but it's also a good idea to look for and install any patches related to pfs beforehand.
If it ain't broke, I can fix that.
Alzhy
Honored Contributor

Re: URGENT need - mount cdrom syntax

What kind of CD (source?.. where burned? contents?) is it? Again, if it is a Windows format CD with Joliet extensions.. you won't see the correct (original) filenames..
Hakuna Matata.