[olug] Unix Tip: MOUNTING CD'S ON HPUX

Unix Guru Universe listserv at ugu.com
Wed Jun 4 15:37:17 UTC 2003


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

			      UNIX GURU UNIVERSE 
			         UNIX HOT TIP

			Unix Tip 1981 - June  4, 2003

		    http://www.ugu.com/sui/ugu/show?tip.today

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


MOUNTING CD'S ON HPUX

If you want to mount an 
ISO 9660 CDROM on HP-UX
or a ISO 9660 CDROM with 
RockRidge Interchange Format
you have to start pfs_mountd 
and pfsd.

# /usr/sbin/pfs_mountd &
[3]     1969
# /usr/sbin/pfsd &
[4]     1970

Edit or create the file 
/etc/pfs_fstab

/dev/dsk/c0t4d0 /ISO_CDROM pfs-iso9660 xlat=unix 0 0
/dev/dsk/c0t4d0 /ISO_RR_CDROM pfs-rrip xlat=unix 0 0

Create the dirs, if they 
don't exist

# ls -dl /ISO*
drwxr-xr-x   2 root  root   4 Apr  2 20:44 ISO_CDROM
drwxr-xr-x   2 root  root   4 Apr  2 20:44 ISO_RR_CDROM

Now it is easy to mount 
ISO CDROMs

# pfs_mount /ISO_CDROM
# ls -l /ISO_CDROM
drwxr-xr-x   2 root root  4488 May  6  1988 cdsample
# pfs_umount /ISO_CDROM

Or with long filenames

# pfs_mount /ISO_RR_CDROM
# ls -l /ISO_RR_CDROM
-r--r--r--   1 root  root 4488 Nov  5 19:00 Copyright
dr-xr-xr-x   2 root  root 1469 Oct 13 19:01 pictures_from_susi


This tip generously supported by:
tomschit at ti-voyager.fbe.fh-weingarten.de



--------------------------------------------------------------------------
To Subscribe:    http://www.ugu.com/sui/ugu/show?tip.subscribe
To Unsubscribe:  http://www.ugu.com/sui/ugu/show?tip.unsubscribe
To Submit A Tip: http://www.ugu.com/sui/ugu/show?tip.today

==========================================================================
DISCLAIMER: All UNIX HOT TIPS ARE OWNED BY THE UNIX GURU UNIVERSE AND ARE
NOT TO BE SOLD, PRINTED OR USED WITHOUT THE WRITTEN CONSENT OF THE UNIX 
GURU UNIVERSE. ALL TIPS ARE "USE AT YOUR OWN RISK". UGU  ADVISES THAT 
ALL TIPS BE TESTED IN A NON-PRODUCTION DEVELOPMENT ENVIRONMENT FIRST.

Unix Guru Universe - www.ugu.com - tips at ugu.com - Copyright 1994-2001
==========================================================================



More information about the OLUG mailing list