Retrieving Disk Information: Difference between revisions
From Leo's Notes
This page was last edited on 29 April 2013, at 18:34.
No edit summary |
syntax highlight |
||
| Line 1: | Line 1: | ||
=== FreeBSD === | === FreeBSD === | ||
<syntaxhighlight lang="bash" line highlight="1,6" start="1" enclose="div"> | |||
camcontrol devlist | |||
<NECVMWar VMware IDE CDR10 1.00> at scbus1 target 0 lun 0 (cd0,pass0) | |||
<VMware Virtual disk 1.0> at scbus2 target 0 lun 0 (da0,pass1) | |||
<ATA SAMSUNG HD160JJ/ ZM10> at scbus2 target 1 lun 0 (da1,pass2) | |||
diskinfo -v da1 | |||
da1 | |||
512 # sectorsize | |||
160000000000 # mediasize in bytes (149G) | |||
312500000 # mediasize in sectors | |||
0 # stripesize | |||
0 # stripeoffset | |||
19452 # Cylinders according to firmware. | |||
255 # Heads according to firmware. | |||
63 # Sectors according to firmware. | |||
S0DFJ1IL979219 # Disk ident. | |||
</syntaxhighlight> | |||
[[Category:FreeBSD]] | [[Category:FreeBSD]] | ||
Revision as of 18:34, 29 April 2013
FreeBSD
camcontrol devlist
<NECVMWar VMware IDE CDR10 1.00> at scbus1 target 0 lun 0 (cd0,pass0)
<VMware Virtual disk 1.0> at scbus2 target 0 lun 0 (da0,pass1)
<ATA SAMSUNG HD160JJ/ ZM10> at scbus2 target 1 lun 0 (da1,pass2)
diskinfo -v da1
da1
512 # sectorsize
160000000000 # mediasize in bytes (149G)
312500000 # mediasize in sectors
0 # stripesize
0 # stripeoffset
19452 # Cylinders according to firmware.
255 # Heads according to firmware.
63 # Sectors according to firmware.
S0DFJ1IL979219 # Disk ident.