tech-userlevel archive

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

Re: wedge device to name



manu%netbsd.org@localhost (Emmanuel Dreyfus) writes:

>Hello

>Is there a reason why we do not translate wedges devices to their name?
>I mean, df and mount report about /dev/dkN, which is not very helpful
>since it can change quickly. Reporting about NAME= seems a better idea.

>In order to do it, we need a reverse getfsspecname(), and use it everywhere
>reasonable: df mount swapctl raidctl ... other ideas?

It's not necessarily a good idea to hide the dk devices, so that probably
needs to be an optional output. Also because there are people parsing
such output and expect a device path.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index