Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2000 05:53:11 -0500
From:      Chris Costello <chris@calldei.com>
To:        Neil Blakey-Milner <nbm@mithrandr.moria.org>
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:  <20000714055311.C30847@holly.calldei.com>
In-Reply-To: <20000714124327.A64283@mithrandr.moria.org>
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> <20000714124327.A64283@mithrandr.moria.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <chris@calldei.com>
|Your fault, core dumped.
`----------------------------------


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?20000714055311.C30847>