1. Solaris 10缺省会启动volfs服务,该服务可以自动挂载光盘;
启动该服务后,光盘插入机器,会自动挂载到/cdrom/下的某个目录下,用cdrw -l显示设备时,为 -bash-3.00# cdrw -l 寻找 CD 设备... 节点 Connected Device 设备类型 ----------------------+--------------------------------+----------------- cdrom0 | MATSHITA DVD-RAM SW-9585 B100 | CD 读入程序/写入者 cdrom1 | TSSTcorp CDDVDW TS-H653B SI01 | CD 读入程序/写入者 cdrom2 | PIONEER DVD-RW DVR-215 1.06 | CD 读入程序/写入者 -bash-3.00# df -k Filesystem kbytes used avail capacity Mounted on rpool/ROOT/s10x_u7wos_atapi 76382208 4924351 69336774 7% / /devices 0 0 0 0% /devices ctfs 0 0 0 0% /system/contract proc 0 0 0 0% /proc mnttab 0 0 0 0% /etc/mnttab swap 1400060 364 1399696 1% /etc/svc/volatile objfs 0 0 0 0% /system/object sharefs 0 0 0 0% /etc/dfs/sharetab /usr/lib/libc/libc_hwcap2.so.1 74261125 4924351 69336774 7% /lib/libc.so.1 fd 0 0 0 0% /dev/fd swap 1399708 12 1399696 1% /tmp swap 1399724 28 1399696 1% /var/run rpool/export 76382208 19 69336774 1% /export rpool/export/home 76382208 23647 69336774 1% /export/home rpool 76382208 35 69336774 1% /rpool /vol/dev/dsk/c2t1d0/_dvd9 3541352 3541352 0 100% /cdrom/_dvd9 2. 可以使用"svcadm disable volfs" 关闭该服务,这时,光盘必须手工加载; 使用"cdrw -l"显示你的光盘设备: -bash-3.00# cdrw -l 寻找 CD 设备... 节点 Connected Device 设备类型 ----------------------+--------------------------------+----------------- /dev/rdsk/c0t0d0s2 | MATSHITA DVD-RAM SW-9585 B100 | CD 读入程序/写入者 /dev/rdsk/c2t0d0s2 | TSSTcorp CDDVDW TS-H653B SI01 | CD 读入程序/写入者 /dev/rdsk/c3t0d0s2 | PIONEER DVD-RW DVR-215 1.06 | CD 读入程序/写入者 -bash-3.00# 使用"mount -F hsfs" 来挂载; -bash-3.00# mkdir /test -bash-3.00# mount -F hsfs /dev/dsk/c0t0d0s2 /test -bash-3.00# man hsfs 正在重新格式化页面。请等待... 完成 File Systems hsfs(7FS) NAME hsfs - High Sierra & ISO 9660 CD-ROM file system hsfs就不用说了,自己去看吧.