Subject: devfs, was Re: FreeBSD 5/6/7 kernel emulator for NetBSD 2.x
To: None <firstname.lastname@example.org>
From: Pavel Cahyna <email@example.com>
Date: 10/27/2005 23:13:57
On Thu, Oct 27, 2005 at 09:10:05AM -0700, Bill Studenmund wrote:
> On Thu, Oct 27, 2005 at 09:29:52AM +0200, firstname.lastname@example.org wrote:
> > On Wed, Oct 26, 2005 at 05:48:06PM -0700, Bill Studenmund wrote:
> > > The reason I'm interested in locators is so that if devices renumber
> > > themselves, the permissions follow. I am assuming, but I think we'd rather
> > > not use locators for names (/dev/sd.52004567BA64678D anyone?). But if we
> > > can tie the permissions to a locator, then it doesn't matter if it's sd2
> > > or sd12. :-)
> > I think it does matter, because all userland programs use device names,
> > not locators. If permissions are enforced by an userland program, they
> > will not follow locators.
> Oh, but part of all of this would be that userland would be able to find
> out the locators for a device! It won't work any other way.
Being able to find the locators is not enough, it would be necessary to
modify all the userland tools to use them, including pkgsrc software like
cdrecord, cdrdao, sane ... Isn't it easier to simply use locators as
device names and let the userland use device names?