NetBSD-Users archive

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

Re: list all wedges in system (Christoph Lemke) writes:

>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'.

                                Michael van Elst
                                "A potential Snark may lurk in every tree."

Home | Main Index | Thread Index | Old Index