Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Sep 2000 22:03:57 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Jeremy Lea <reg@FreeBSD.ORG>
Cc:        Mike Meyer <mwm@mired.org>, Alexander Langer <alex@big.endian.de>, current@FreeBSD.ORG
Subject:   Re: setting device permissions for DEVFS 
Message-ID:  <11056.970344237@critter>
In-Reply-To: Your message of "Sat, 30 Sep 2000 12:06:07 PDT." <20000930120607.C349@shale.csir.co.za> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20000930120607.C349@shale.csir.co.za>, Jeremy Lea writes:
>Hi,
>
>On Sat, Sep 30, 2000 at 01:53:12PM -0500, Mike Meyer wrote:
>> Well, I like your idea better than mine (though device_chmods="first
>> second etc" then chmod_first, chmod_second, chmod_etc would be better
>> names), but meant to ask - is there some reason that /etc/fbtab can't
>> be used for this? Possibly with some beefing up (/etc/defaults, for
>> instance)?
>> 
>> Of course, it needs to handle symlinks. I'd rather fix the symlink for
>> /dev/scanner than reconfigure sane when I add a new device. Possibly
>> device_links, or more work on fbtab?
>
>Can mtree not be used for this?  Seems like the quickest and cleanest
>solution to me...

You guys are overlooking something about DEVFS: devices may appear
post-boot.

We need a generic "devd" which finds out that devices have appeared,
set their perms (if needed/wanted) and executes any commands needed
(getty, mount, etc etc) by the device.


--
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD coreteam member | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?11056.970344237>