Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2000 12:43:27 +0200
From:      Neil Blakey-Milner <nbm@mithrandr.moria.org>
To:        Chris Costello <chris@calldei.com>
Cc:        Dag-Erling Smorgrav <des@flood.ping.uio.no>, Adrian Chadd <adrian@FreeBSD.ORG>, Matthew Dillon <dillon@apollo.backplane.com>, Andrzej Bialecki <abial@webgiro.com>, freebsd-arch@FreeBSD.ORG
Subject:   Re: SysctlFS
Message-ID:  <20000714124327.A64283@mithrandr.moria.org>
In-Reply-To: <20000714053540.A30847@holly.calldei.com>; from chris@calldei.com on Fri, Jul 14, 2000 at 05:35:41AM -0500
References:  <Pine.BSF.4.20.0007121328020.49102-100000@mx.webgiro.com> <20000712144510.A11316@ywing.creative.net.au> <200007130537.WAA29614@apollo.backplane.com> <20000714112117.D17372@ywing.creative.net.au> <xzppuohggib.fsf@flood.ping.uio.no> <20000714053540.A30847@holly.calldei.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri 2000-07-14 (05:35), Chris Costello wrote:
>    1. A devfsd, which uses some sort of routing socket/syscall/whatever
>       and writes out permission changes to some file in /var/db.
>       I heard this one from someone else but I can't think of who.

kqueue can do this (watching for permission changes) easily.  It can
also get notified when a new file appears - either from the kernel, or
from watching the directory.

I'm not sure whether it should automatically change permissions in the
database when someone changes permission in /dev.  I'd rather it only
change permissions when someone tells it to, through some sort of
configuration file.  In that case, it should probably be an
easily-scriptable simple-to-manually-change text file.  (The first
person to say XML gets to try to motivate the importation of a
BSD-licensed good XML parser into the base system.)

Neil
-- 
Neil Blakey-Milner
Sunesi Clinical Systems
nbm@mithrandr.moria.org


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




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