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
On Wed, Mar 12, 2008 at 6:08 PM, <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.
hi mate,
I don't know about DragonFly but on FreeBSD you can dig out such
information by iterating over
dev.ad or dev.da sysctl nodes.
Cheers
kmb810
--
Something is wrong up on cloud # 9!
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]