?????????????????????????????? Solaris Express 12/06 ?????????????????????????????????
?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
??????????????????????????????
??? SMF ?????????????????????????????????????????????
online 12:17:54 svc:/system/hal:default online 12:17:56 svc:/system/filesystem/rmvolmgr:default online 12:17:26 svc:/system/dbus:default |
??????????????????????????????????????? /media ??????????????????????????????????????????????????????????????? /cdrom ??? /rmdisk ???????????? /media ??????????????????
?????????CF ????????? (/dev/dsk/c4d0p0:1) ????????????????????????
$ ls /media/NIKON |
?????????USB ????????? (/dev/dsk/c3t0d0s0) ????????????????????????
$ ls /media/U3 |
??????????????? (/dev/diskette0) ????????????????????????
$ ls /media/floppy |
?????????????????????????????????????????? rmvolmgr ?????????????????????
???????????????????????????
rmvolmgr ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? rmvolmgr ???????????????????????????????????????????????????rmvolmgr ?????????????????????????????????????????????????????????????????????????????????????????????
??? rmvolmgr ???????????????????????????????????????????????????
????????????????????????rmvolmgr ?????? /cdrom???/floppy???/rmdisk ????????????????????? /media ????????????????????????????????????
????????? rmvolmgr ??????????????????????????? CDE ????????????
??????????????? (HAL) ???????????? hald ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
HAL ???????????????????????????????????????????????????????????????????????? (UDI) ????????????????????????????????????????????????????????????-?????????????????????????????????????????????????????????????????????????????? (.fdi ??????)?????????????????????????????????????????????
????????????????????????
vold ???????????????volfs ??????????????? volfs ????????????????????????
svc:/system/filesystem/volfs |
???????????? /vol ????????????????????????????????????????????????????????? /vol/dev/rdsk/... ??? /vol/dev/aliases/...???
??????????????????????????????????????????????????????????????? /dev ??????????????????
/dev/rdsk/c0t6d0s2 |
?????????????????? vold ????????????????????? eject -l ?????????????????????????????????????????????????????????????????????????????????????????? (/media/SOL_11_X86_4)???
$ eject -l /dev/dsk/c2t0d0s2 cdrom,cdrom0,cd,cd0,sr,sr0,SOL_11_X86_4,/media/SOL_11_X86_4 /dev/diskette floppy,floppy0,fd,fd0,diskette,diskette0,rdiskette,rdiskette0 |
?????????????????????????????????????????????????????????????????????
?????????????????????????????????????????? vold.conf ??? rmmount.conf ?????????????????????????????????????????????????????????????????????????????????????????????????????????
?????? volcheck ??? volrmmount ????????????????????? vol* ????????????
??????????????????????????? Solaris ??????????????????????????????????????????
????????????????????????????????? /media ??????????????????????????? CD-ROM ??? USB ????????????????????????????????????????????????????????????????????????????????? (?????? /cdrom ??? /rmdisk) ?????? /media ??????????????????
rmformat ?????????????????????????????????????????????????????? Solaris ????????????????????? vold ???????????????????????????
?????????
# rmformat Looking for devices... 1. Logical Node: /dev/rdsk/c0t6d0s2 Physical Node: /pci@1f,4000/scsi@3/sd@6,0 Connected Device: TOSHIBA DVD-ROM SD-M1401 1009 Device Type: DVD Reader Bus: SCSI Size: 2.9 GB Label: <None> Access permissions: <Unknown> |
eject ?????????????????????????????????????????????????????????????????????????????????????????????????????????
?????????????????????????????????????????? vol* ???????????????????????????????????????????????? rmmount ???????????? rmumount ????????????????????????????????????????????????
???????????????????????????????????????????????????????????????????????????????????????????????? iPod???
% rmmount ipod |
????????????????????? DVD ?????????????????????
# rmumount cdrom cdrom /dev/dsk/c0t6d0s5 unmounted cdrom /dev/dsk/c0t6d0s0 unmounted |
?????????????????????????????????rmmount(1M) ??????????????????
???????????????????????? volcheck ????????????????????????????????????????????????????????????????????????????????????
??????????????????????????????????????????????????????????????????????????????????????? HAL??????????????? volcheck ??????????????????????????????????????????????????????????????????????????????
???????????? Solaris ??????????????????????????? eject ????????????????????????????????????????????????????????? eject ????????????????????????
?????????????????????????????????????????????
??????????????????????????????????????????
?????????????????? CD-ROM ?????????????????????????????????????????????????????????
?????????????????????????????????????????????
% eject mypictures |
???????????? Solaris ????????????????????????????????????????????? volcheck ????????????????????? eject ?????????????????????
?????????????????????????????????eject(1) ??????????????????
?????? vold.conf ??? rmmount.conf ???????????????????????????????????????????????????????????? Desktop Volume Manager ???????????????????????? .fdi ?????????
?????? rmmount.conf ???????????????????????? Desktop Volume Manager ?????? gconf ??? HAL ?????????
????????????????????????????????????????????????????????????????????? rmmount.conf actions?????????????????? /usr/lib/hal ???????????????????????????????????????????????????
?????????????????????????????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????? rmvolmgr ??????????????????
# svcadm disable rmvolmgr |
????????????????????????????????????????????? dbus???hal ??? rmvolmgr ?????????
# svcadm disable rmvolmgr # svcadm disable dbus # svcadm disable hal |
?????????????????????????????????????????? mount ???????????????????????????????????????