DragonFly users List (threaded) for 2008-03
DragonFly BSD
DragonFly users List (threaded) for 2008-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: One thing ive been wondering for a long while


From: Bill Hacker <wbh@xxxxxxxxxxxxx>
Date: Wed, 12 Mar 2008 10:14:22 +0000

elekktretterr@exemail.com.au wrote:
How does one list all diskdrives connected to the system (the ones mounted
AND unmounted) on a BSD system without looking at dmesg? Normally, id look
into dmesg to find that ie. my usb drive is on da0 or da1, but there must
be a much better way to find out.

Cheers,
Petr


Couple of 'convenient' ways, as they provide a good deal of info in one go:


(n)atacontrol list

- covers ATAPI

camcontrol [devlist | periphlist]

- handles similar functionality for SCSI.

NB: You would still need to look at dmesg if/as/when there is one or more controllers that report on scan but get no driver assigned.

As happens ...

Likewise, depending on OS, there are a number of not-really-SCSI devices - usually USB or FW, but even PATA/SATA on some controllers - that are mapped to 'scsibus' and may not be reported by either of the above 'coz they don't buy into the charade.

HTH,

Bill



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]