HP-UX操作系统下如何挂载光驱cdrom
▼ To mount the CD-ROM:
1. Login as root.
2. Create the mount point (for example, # mkdir /cdrom).
3. Enter:
# nohup pfs_mountd &
4. Enter:
# nohup pfsd &
5. Enter:
# pfs_mount -o xlat=unix device_path mount_point
To find the device path, you can enter # ioscan -fn. For example, to mount the CD-ROM using /cdrom as the mount point, you would enter:
# pfs_mount -o xlat=unix /dev/rdsk/c0t0d0 /cdrom
Mounting a NetBackup CD-ROM
▼ To unmount the CD-ROM:
1. Enter:
# pfs_umount mount_point
For example, to unmount the CD-ROM using /cdrom as the unmount point, you would enter:
# pfs_umount /cdrom
2. Use the kill command to kill the following processes:
pfs_mountd
pfsd
pfs_mountd.rpc
pfsd.rpc
Converting File Names using CDFS Mount Options
CDFS supports several common CDROM formats:
• the ISO9600 format
• the High Sierra format
• the ISO9660 Rockridge Extension format, though patches are required:
on 11.11: PHKL_28025 and PHKL_26269
on 11.00: PHCO_26449, PHKL_26450, and PHKL_28060
By default, CDFS displays filenames using the standard 8.3;1 filename format that is popular
in the PC world:
# mount -o ro /dev/dsk/c0t0d0 /cdrom
# ls /cdrom
RUNINSTA.;1
INDEX.HTM;1
This format may be inconvenient in an HP-UX environment since the semicolon is used as a command separator in the POSIX shell. You can disable lowercase-to-uppercase filename translation, and suppress the display of version numbers by using the -o cdcase option:
# mount –o ro,cdcase /dev/dsk/c0t1d0 /cdrom
# ls /cdrom
runinsta.
index.htm
If you install the ISO 9660 Rockridge Extension patches mentioned above and mount file systems with the rr mount option, CDFS provides even more flexibility. This option is required when dealing with CDs from Oracle and other third party vendors.
# mount -F cdfs -o ro,cdcase,rr /dev/dsk/c0t1d0 /cdrom