Date: Tue, 13 Dec 2005 09:38:21 -0800 From: Brooks Davis <brooks@one-eyed-alien.net> To: "[LoN]Kamikaze" <LoN_Kamikaze@gmx.de> Cc: freebsd-stable@freebsd.org Subject: Re: devfs doesn't set access rights Message-ID: <20051213173821.GA25217@odin.ac.hmc.edu> In-Reply-To: <439F02B3.60707@gmx.de> References: <439EF8B5.4030702@gmx.de> <20051213165416.GE71643@pc5-179.lri.fr> <439F02B3.60707@gmx.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 13, 2005 at 06:19:47PM +0100, [LoN]Kamikaze wrote: > It's a simple and working solution and I think it simply should be made > default for ALL attach events. To me it makes more sense than having 2 > different systems for the same thing. >=20 > Anyway, now I'm going to set up a devfs.rules (and learn a new different > syntax for doing exactly the same thing). This looks like something that > could have been in the unix haters handbook. The devfs.conf method is inappropriate for runtime because if you don't do this in the kernel (as devfs(8) does) there is a race where the device initially has the wrong permissions. IMO, devfs.conf should either be taken out and shot or a parser to turn it into devfs(8) rules should be written. The current situation is utterly lame. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --sdtB3X0nJg68CQEu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFDnwcNXY6L6fI4GtQRAt7rAJ4zX4QiZjl2bctlwHvn2/uTPPhUpQCgmsKB Nny8BiMjn4+X+R9syTI8AVY= =OfSL -----END PGP SIGNATURE----- --sdtB3X0nJg68CQEu--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051213173821.GA25217>