|
̾??od —
SCSI ???ǥ??????ɥ饤??
????device od device od1 at scbus0 target 3
lun 0
???? ASC/ASCQ
???֤??ɥ饤?Ф??Ȥ??ˤ?
??ư??ž???ߵ?ǽ???Ȥ??ˤ?
????od ?ɥ饤?Ф? SCSI
???ǥ????? (???????롢???????????Ѳ????إǥ?????)
?ɥ饤?֤ݡ??Ȥ??ޤ???
???ǥ????θ䡢?ǥ???????ʬ?䤷??
?ѡ??ƥ???????
?ȸƤФ??뵿???ǥХ????˳??????Ƥ뤳?Ȥ???ǽ?ˤʤ??ޤ???
?ѡ??ƥ????????ˤ? raw
???ե??????? ?֥??å??⡼??
???ե????????????ޤ???
???ե???????????Ū??
wd(4) ??
sd(4)
?ε??Ҥ?Ʊ?ͤǤ???
??ư???? SCSI
?????ץ????ץ????֤??????Ȥ????ǥХ????Ф??뤿????
SCSI
?Х???Ĵ?٤????ޤ??????Ф??줿???ΤΤ???
‘Optical (??)’ ????
‘removable (???곰????ǽ)’
?????֤??????ɤΥǥХ?????
?ѡ??ƥ??????˥???od
?ɥ饤?Фϥǥ????????Ф???2
?Ĥγ??ؤΥѡ??ƥ???????ǽ?Ǥ???
1 ???ܤ??ؤ? “???饤????”
?ȸƤФ??????Τǡ? FreeBSD
?ΰ??Ȥ???¾?Υ??ڥ졼?ƥ??????ƥ??ǻ??Ѥ????Ƥ????ΰ???
ʬΥ???뤿?????Ѥ??ޤ??? 2 ???ܤϡ?
disklabel(5)
?ˤ??????????? 4.4BSD
?Υѡ??ƥ??????˥????Ǥ??ꡢ
FreeBSD
???饤?????ȼ??Υե????륷???ƥ??˺?ʬ???뤿?????Ѥ??ޤ???
?ܺ٤ϡ?
fdisk(8)
??????
disklabel(8)
?줾?컲?Ȥ??Ƥ?????????
???????????Ƥ??ʤ??ǥ????????????????ȡ??ǥ????????ΤޤǵڤֲͶ???
FreeBSD
???饤???ˤ??äơ????饤???ơ??֥뤬???????????ޤ???
Ʊ?ͤˡ????????????Ƥ??ʤ? (???뤤????
FreeBSD)
???饤?????????????ȡ??ɥ饤?֤????ӥ??饤?????Τ??ޤ?ñ??
‘ ?????ͥ????????????ե???????od ?ǥХ????? 1
?Ĥ???ɬ?פǤ??????ʤ????ǡ?????¤?ϡ??ǥ???????
SCSI
?Х????˸??Ф??줿?Ȥ???ưŪ?˳??????Ƥ????ޤ???
IOCTL???? ioctl(2) ????????¾?Υǥ??????????Ǥʤ??????ǥ??????ˤ??б????ޤ??? ???????ϥإå??ե????? ⟨sys/disklabel.h⟩ ???????????Ƥ??ޤ???
???? ioctl(2) ????????¾?Υǥ??????????Ǥʤ??????ǥ??????ˤ??б????ޤ??? ???????ϥإå??ե????? ⟨sys/cdio.h⟩ ???????????Ƥ??ޤ???
?ä??ơ?
scsi(4)
?ΰ???Ū?? ioctl ?? ?????ߤΤȤ?????od
?ɥ饤?Ф? 512, 1024, 2048
?Х???/???????Υ??ǥ??????б????Ƥ??ޤ???
raw
?????ӥ֥??å??⡼?ɤΥǥХ????ˤ????롢
?? 512
?Х???/???????Υ??ǥ????ؤΥ????????ϡ?
?ƥ??????????????????γ??ϰ??֤? I/O
???????˴ؤ??ƤΤ߲?ǽ?Ǥ???
??Ϣ?ե?????
?????????ޤ???????Ϣ????fdisk(1),cd(4),scsi(4),sd(4),disklabel(5),disklabel(8)????Shunsuke Akiyama <akiyama@jp.FreeBSD.org>????od ?ɥ饤?Ф?FreeBSD2.1.5???о줷?ޤ?????
Visit the GSP FreeBSD Man Page Interface. |