For all supported HP-UX platforms except HP-UX 11.31, the software installation disc is in RockRidge format. In any case, you must mount the installation disc manually; mounting or unmounting the installation disc manually requires root privileges. One of the following procedures is for most HP-UX platforms, and the other procedure is for HP-UX 11.31.
To mount the software
installation disc for most HP-UX platforms:
Use a system editor to add the following information to the /etc/pfs_fstab file:
<device_file> <mount_point> <filesystem_type> <translation_method>
For example:
/dev/dsk/c0t0d0 /cdrom pfs-iso9660 xlat=unix 0
Type in the following string at the command line prompt to run the pfs_mountd program, then press Enter:
# nohup /usr/sbin/pfs_mountd &
Type in the following string at the command line prompt to run the pfsd program, then press Enter:
# nohup /usr/sbin/pfsd &
Insert the installation disc into the tray and type in the following string at the command line prompt to run the pfs_mount program, which mounts the disc, then press Enter:
# /usr/sbin/pfs_mount /cdrom
Change directories to /cdrom where you can see a lower-case listing of the directories and files on the installation disc. The mounted installation disc should appear as another read-only file system.
The installation disc is now mounted and you can continue with the installation.
To unmount the software installation disc, enter the following string at the command line prompt:
# /usr/sbin/pfs_unmount /cdrom
lvcreate –L 5G –n isotest vg01
dd if=/tmp/test.isofile.iso of=/dev/vg01/isotest bs=1024k
mount /dev/vg01/isotest /mnt
To
mount the software installation disc for HP-UX 11.31:
/etc/mount <device_file> <mount_point>
For example:
/etc/mount /dev/dsk/c0t0d0 /DVD_MountPoint
The installation disc is now mounted and you can continue with the installation.
To unmount the software installation disc, enter the appropriate form of the following string at the command line prompt:
/etc/unmount <mount_point>
For example:
/etc/unmount /DVD_MountPoint
ISOIMAGE-ENH B.11.31.06 ISO Image mount Enhancement
|
bash-4.0# kcmodule fspd=loaded
* The automatic 'backup' configuration has been updated.
* The requested changes have been applied to the currently running configuration.
Module State Cause Notes
fspd (before) auto best auto-loadable, unloadable (now) loaded explicit
bash-4.0# mount -r -F cdfs /mount/path/to/ISO/DVD5.iso /dvd
bash-4.0# bdf | grep fspd1
/dev/fspd1 310038 310038 0 100% /dvd
bash-4.0# ls /dvd
file1 file2 file3 file4
bash-4.0#