One thing ive been wondering for a long while
Steve O'Hara-Smith
steve at sohara.org
Wed Mar 12 01:51:07 PDT 2008
On Wed, 12 Mar 2008 19:08:20 +1100 (EST)
elekktretterr at 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/
More information about the Users
mailing list