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

Jay Swackhamer Jay at RebootTheUser.com
Wed Jun 4 18:41:24 UTC 2003


Using pfsd under HPUX works ok, you should always unmount and kill the
pfs process's when not needed, if the process's have problems(which they
often do) the will hang and any process doing a 'bdf' or disk check
will also hang.

You can also use a cdcase option on the normal mount for some cd's


>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
> 			      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
> ==========================================================================
>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
>


-- 
Jay Swackhamer
Reboot The User
15791 West Dodge Road
Suite 135
Omaha, NE 68118
(402) 933-6449
http://www.RebootTheUser.com


More information about the OLUG mailing list