manuel's blog

just another men's two cents

Archive for the ‘storage’ tag

List all mass storage devices with FreeBSD

without comment

Get a list of installed mass storage devices with FreeBSD

egrep ‘ad[0-9]|da[0-9]|cd[0-9]|acd[0-9]’ /var/run/dmesg.boot


ad -> IDE HDD

da -> SCSI HDD

cd -> IDE CD/DVD


Here’s an example output:

da0 at ciss0 bus 0 scbus0 target 0 lun 0
da0: Fixed Direct Access SCSI-5 device
da0: 135.168MB/s transfers
da0: Command Queueing enabled
da0: 139979MB (286677120 512 byte sectors: 255H 32S/T 35132C)
da1 […]

Written by manuel

December 14th, 2011 at 2:02 pm

Posted in IT

Tagged with , , , , ,