HP-UX操作系统下如何挂载光驱cdrom

教程发布:风哥 教程分类:ITPUX技术网 更新日期:2022-02-12 浏览学习:32

▼ 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

本文标签:
网站声明:本文由风哥整理发布,转载请保留此段声明,本站所有内容将不对其使用后果做任何承诺,请读者谨慎使用!
【上一篇】
【下一篇】