Subject: Re: devfs, was Re: FreeBSD 5/6/7 kernel emulator for NetBSD 2.x
To: Bill Studenmund <wrstuden@netbsd.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 10/27/2005 16:40:53
On Oct 27, 2005, at 3:41 PM, Bill Studenmund wrote:

> As above, we may be not in disagreement. One idea I had was that if  
> the
> userland config file said SCSI disk wwn 52004567BA64678D was sd3,  
> devfs
> setup would make whatever disk had that wwn be sd3. I was even kicking
> around the idea that kernel log messages would say "sd3" in them. This
> idea is still vague, and for instance I haven't figured out what  
> exactly
> to do if we already had an sd3. :-)

What's the point of even mapping it to "sd3"?  Just reference it as "/ 
dev/sd.wwn.52004567BA64678D" or whatever.  And with wedges, you would  
end up with even more useful names:

	/dev/dk/nbsd4.0root

...based on the name in the EFI label.

-- thorpej