Subject: Re: Work-in-progress "wedges" implementation
To: NetBSD tech-kern <>
From: Joerg Sonnenberger <>
List: tech-kern
Date: 09/23/2004 14:53:44
On Thu, Sep 23, 2004 at 12:20:52PM +1000, Daniel Carosone wrote:
> On Wed, Sep 22, 2004 at 04:35:37PM -0700, Jason Thorpe wrote:
> > Oh.  Well, eventually a whole-disk e.g. /dev/sd0 will be there.  The 
> > wedges are also named /dev/dk0, /dev/dk1, etc.  The /dev/dk/WegeName 
> > names are really intended to just be aliases.  If the wedge doesn't 
> > have a name, you can still access via the /dev/dkN path.
> But guessing N gets harder than guessing N now for sdN when I plug in
> another flash widget.
> If we have aliases, can we have also aliases that correspond to the
> "dmesg path" that just got printed on the console for the user.
> Something vaguely like:
>  /dev/dk/umass4/sd6/mbr0 

This sounds very much like the native device naming which devfs under Linux
used. Wouldn't it be enough for the name to printed to dmesg? The device
naming of hotplug devices is not very intuitive too.