Date: Thu, 16 Nov 1995 02:05:18 -0800 (PST) From: Julian Elischer <julian@ref.tfs.com> To: phk@critter.tfs.com (Poul-Henning Kamp) Cc: peter@jhome.dialix.com, bde@zeta.org.au, CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern kern_sysctl.c Message-ID: <199511161005.CAA01384@ref.tfs.com> In-Reply-To: <4388.816512519@critter.tfs.com> from "Poul-Henning Kamp" at Nov 16, 95 10:01:59 am
next in thread | previous in thread | raw e-mail | index | archive | help
> > 1/ environment variables passwd from init
> can't be relied on, anyone can change them.
that depends on the semantics of env variables..
> > 2/ sysctl variables
> Can be protected by securelvl, or even by their own
> "change-no-more" sysctl variable.
> > 3/ /proc and /kern could be extended to store these things
> /kern should die and sysctl used insted. (unless we think
> plan9 is the way to go :-)
well? why not..
why have several DIFFERENT hierarchical schemes for maintaining this
stuff.. ?
> > 4/ I've considered extending devfs to allow access to
> > system stuff
> don't. Keep devfs for device nodes. Don't mix too much in there.
devfs could become part of a virtual root fs which could encompass all
that stuff..
>
> > I thought about being able to extend the sysctl interface into a f/s interfac
> e
> > (just replace them dots with /)
> Yeah, but why ?
because it seems like so much duplication....
I just thought of a counter-argument however..
chroot'd processes still need to get to sysctl stuff just the same...
On that topic I'd like to think about a few things.. some time..
1/ disjoint filesystems :)
2/ directories having data
e.g.
# cd /fred
# cat .
this directory contains sources for foo
# ls
Makefile
foo.c
foo.h
OR in devfs....
# fdisk /devs/rsd0
[make slice]
# disklabel /devs/rsd0/slice1
[make partition]
# newfs /devs/rsd0/slice1/parta
# mount /devs/sd0/slice1/parta /mnt
I think I could make that work.. :)
can hardly wait for my holidays..
I have SO MUCH I want to hack on :) :) :)
julian
+----------------------------------+ ______ _ __
| __--_|\ Julian Elischer | \ U \/ / On assignment
| / \ julian@ref.tfs.com +------>x USA \ in a very strange
| ( OZ ) 300 lakeside Dr. oakland CA. \___ ___ | country !
+- X_.---._/ USA+(510) 645-3137(wk) \_/ \\
v
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511161005.CAA01384>
