Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 1999 00:00:09 -0700
From:      John-Mark Gurney <gurney_j@efn.org>
To:        Julian Elischer <julian@whistle.com>
Cc:        Brian Beattie <beattie@aracnet.com>, "Matthew N. Dodd" <winter@jurai.net>, Chuck Robey <chuckr@mat.net>, Wayne Cuddy <wayne@crb-web.com>, FreeBSD Hackers List <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: what is devfs?
Message-ID:  <19990921000009.54622@hydrogen.fircrest.net>
In-Reply-To: <Pine.BSF.4.05.9909202321540.22714-100000@home.elischer.org>; from Julian Elischer on Mon, Sep 20, 1999 at 11:28:11PM -0700
References:  <19990920231629.26284@hydrogen.fircrest.net> <Pine.BSF.4.05.9909202321540.22714-100000@home.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer scribbled this message on Sep 20:
> > POLA!  if we have persisten permissions and ownership, and we allow
> > renaming, then renaming should also be persistant...  after the mount
> > again, da0c either no longer exists, or is no longer ttyd1... which
> > neither is an acceptable solution...
> 
> I think at this stage you've gone overboard..
> 
> part of the definition of devfs is that a device shows up on mount
> with it's canonical name.. On each new mount every time, even if you've
> mounted it in 10 different places.

I didn't flat out state it, but I think persistant should NOT be done
via an underlying node, but via a daemon... and then this would be a
moot point as you'd just configure the daemon to do what you need to
do, or run an /etc/rc.devfs script which sets the permission properly..

a)	all existing device nodes show up
b)	all nodes are gives root:wheel 0600 permissions at start

that is all I'm looking for... anything else is stupid or complex...

hell, a daemon could be something as simple as a script that constantly
sees if a device has root:wheel 0600 permissions, and set them correctly
if they don't...

persitance is stupid UNLESS it is complete persitance... and you've said
that complete persitance is to complex, so lets go w/ no persitance, and
default secure premissions...

-- 
  John-Mark Gurney				Voice: +1 408 975 9651
  Cu Networking					  

  "The soul contains in itself the event that shall presently befall it.
  The event is only the actualizing of its thought." -- Ralph Waldo Emerson


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




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