Solaris10光盘的挂载和卸载

Solaris10默认是自动挂载光盘的,如果想手动控制,必须先停止volmgt,使用这个命令:
/etc/init.d/volmgt stop

使用命令iostat -En和 ls -l /dev/sr0可以找到光驱的位置:
-bash-3.00# iostat -En
c1t0d0 Soft Errors: 9 Hard Errors: 0 Transport Errors: 0
Vendor: NECVMWar Product: VMware IDE CDR10 Revision: 1.00 Serial No:
Size: 0.00GB <0 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 9 Predictive Failure Analysis: 0
-bash-3.00#
-bash-3.00#
-bash-3.00# ls -l /dev/sr0
lrwxrwxrwx 1 root root 12 Oct 19 14:10 /dev/sr0 -> dsk/c1t0d0s2

创建挂载的路径:mkdir /tmp/cdrom
手动挂载:mount -F hsfs /dev/dsk/c1t0d0s2 /tmp/cdrom

你可能感兴趣的:(职场,休闲,solaris10,光盘的挂载和卸载)