NetBSD-Users archive

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

Re: list all wedges in system



On Tue, 4 Dec 2012 19:17:16 +0000 (UTC), Michael van Elst wrote:

> >is there a way to list all wedges (dk*) currently assigned in my
> >system, except of running "dmesg | grep dk"?
> >dkctl(8)'s command "listwedges" shows all wedges from one disk but I
> >don't want to walk through all possible disks.
> 
> Well, you have to walk through all possible disks which
> is the output of 'sysctl -n hw.disknames'.

Oh, very nice! I didn't know hw.disknames. In this form 'walk
through' is OK for me.

-- 
Christoph Lemke <christoph-lemke%gmx.de@localhost>


Home | Main Index | Thread Index | Old Index