From owner-freebsd-arch Fri Jul 14 3:54:25 2000 Delivered-To: freebsd-arch@freebsd.org Received: from mta5.rcsntx.swbell.net (mta5.rcsntx.swbell.net [151.164.30.29]) by hub.freebsd.org (Postfix) with ESMTP id D328D37BE0F; Fri, 14 Jul 2000 03:54:22 -0700 (PDT) (envelope-from chris@holly.calldei.com) Received: from holly.calldei.com ([208.191.149.190]) by mta5.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0FXO000W6OXQSB@mta5.rcsntx.swbell.net>; Fri, 14 Jul 2000 05:53:51 -0500 (CDT) Received: (from chris@localhost) by holly.calldei.com (8.9.3/8.9.3) id FAA35727; Fri, 14 Jul 2000 05:53:12 -0500 (CDT envelope-from chris) Date: Fri, 14 Jul 2000 05:53:11 -0500 From: Chris Costello Subject: Re: SysctlFS In-reply-to: <20000714124327.A64283@mithrandr.moria.org> To: Neil Blakey-Milner Cc: Dag-Erling Smorgrav , Adrian Chadd , Matthew Dillon , Andrzej Bialecki , freebsd-arch@FreeBSD.ORG Reply-To: chris@calldei.com Message-id: <20000714055311.C30847@holly.calldei.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.4i References: <20000712144510.A11316@ywing.creative.net.au> <200007130537.WAA29614@apollo.backplane.com> <20000714112117.D17372@ywing.creative.net.au> <20000714053540.A30847@holly.calldei.com> <20000714124327.A64283@mithrandr.moria.org> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Friday, July 14, 2000, Neil Blakey-Milner wrote: > 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. Does kqueue return full information on files when they're updated or when files are added? Or do you need to read in the whole /dev directory each time a directory update event is received? > 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. The command used to "tell it to change permissions" is chmod. Devfs is supposed to work like a file system, not like a user level application. If I chmod 0600 /dev/null and reboot without issuing some odd 'syncdevfs' command, I want to be the only one who can write to the bitbucket when the system comes back up. > 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 ^^^^^^^ Is required to. > parser into the base system.) -- |Chris Costello |Your fault, core dumped. `---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message