Mounting a CD ROM on an HPUX system [message #111351] |
Tue, 15 March 2005 14:04 |
tqrabbit
Messages: 5 Registered: March 2005
|
Junior Member |
|
|
Hi,
Does anybody know how to mount a cdrom on an HPUX system?
# mkdir /cdrom
# mount -o ro /dev/dsk/c0t0d0 /cdrom
mount: a non-standard cdfs super block found on /dev/dsk/c0t0d0
I tried with the above command, but I got this 'a non-standard cdfs super block' message. Does anybody know what does that mean?
Thanks
|
|
|
Re: Mounting a CD ROM on an HPUX system [message #111371 is a reply to message #111351] |
Tue, 15 March 2005 17:14 |
Ronald Beck
Messages: 121 Registered: February 2003
|
Senior Member |
|
|
Well, I don't know how this got to me on an Oracle forum, and it's been a really long time since I've had to do this, however, try -F hsfs in your mount command...
mount -F hsfs -o ro /dev/dsk/c0t0d0 /cdrom
and see if that lets you mount the CD.
Hope this helps,
Ron
|
|
|
|
|
Re: Mounting a CD ROM on an HPUX system [message #111534 is a reply to message #111495] |
Thu, 17 March 2005 04:36 |
Uwe
Messages: 260 Registered: February 2003 Location: Zürich, Switzerland
|
Senior Member |
|
|
Hi all,
One thing will be to start a pfsmount, because of the longer Filenames on the CD. We use a script like:
if [ `basename $0` = "mountoracd" ]
then
ps -ef | grep -v "grep" | grep "/usr/sbin/pfs_mountd"
if [ $? != 0 ]
then
echo "Lade pfs_mountd Daemon ..."
nohup /usr/sbin/pfs_mountd &
fi
ps -ef | grep -v "grep" | grep "/usr/sbin/pfsd"
if [ $? != 0 ]
then
echo "Lade pfsd Daemon ..."
nohup /usr/sbin/pfsd &
fi
echo "Mounte das CD-CROM ..."
/usr/sbin/pfs_mount -t rrip -x unix /dev/dsk/c3t2d0 /SD_CDROM
echo "Ergebnis: $?"
exit
fi
if [ `basename $0` = "umountoracd" ]
then
echo "Dismounte das CD-ROM ..."
/usr/sbin/pfs_umount -v /SD_CDROM
echo "Ergebnis: $?"
exit
fi
Hope that helps
Uwe
|
|
|
Re: Mounting a CD ROM on an HPUX system [message #112082 is a reply to message #111534] |
Tue, 22 March 2005 19:03 |
tqrabbit
Messages: 5 Registered: March 2005
|
Junior Member |
|
|
Hi Uwe,
I tried with the script, it did help. Now at least I can see it tries to mount the cdrom. But what does it mean when it says '/usr/sbin/pfs_mount: giving up on /SD_CDROM
Results: 1'? Can you help me with this?
# ./mount_cdrom
root 5749 1 0 16:42:44 ? 0:00 /usr/sbin/pfs_mountd
root 6019 1 0 17:48:36 pts/ta 0:00 /usr/sbin/pfs_mountd
root 5800 1 0 16:46:12 ? 0:00 /usr/sbin/pfs_mountd
root 5764 1 0 16:44:36 ? 0:00 /usr/sbin/pfs_mountd
root 5724 1 0 16:39:58 ? 0:00 /usr/sbin/pfs_mountd
root 5785 1 0 16:45:11 ? 0:00 /usr/sbin/pfs_mountd
Load pfs_mountd Daemon...
Sending output to nohup.out
root 5728 1 0 16:39:58 ? 0:00 /usr/sbin/pfsd
Mount the CD-CROM...
/usr/sbin/pfs_mount: giving up on /SD_CDROM
Results: 1
# cd /SD_CDROM
# ls
Thanks!
|
|
|