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: "Steve O'Hara-Smith" <steve@xxxxxxxxxx>
Date: Wed, 12 Mar 2008 08:45:45 +0000

On Wed, 12 Mar 2008 19:08:20 +1100 (EST)
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.

	Try sysctl kern.disks

-- 
C:>WIN                                      |   Directable Mirror Arrays
The computer obeys and wins.                | A better way to focus the sun
You lose and Bill collects.                 |    licences available see
                                            |    http://www.sohara.org/



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