Date: Tue, 02 Jun 1998 18:24:53 -0500 From: Jacques Vidrine <n@nectar.com> To: Mike Smith <mike@smith.net.au> Cc: dyson@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: kernfs/procfs questions... Message-ID: <199806022324.SAA07302@bone.nectar.com> In-Reply-To: <199806020111.SAA02433@dingo.cdrom.com> References: <199806020111.SAA02433@dingo.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- How about both? Run the filesystems (/procfs, /kernfs, Linux-like /procfs) in userland and let them do their jobs using sysctl and other system calls. At least for emulating a Linux-like /procfs, this seems like a reasonable way to go. Of course, having multiple interfaces to the same functionality does leave me with something of a bad taste ... Jacques Vidrine <n@nectar.com> John Dyson <dyson@FreeBSD.ORG> wrote: > > I much prefer sysctl, being a convert from the kernfs camp. Procfs > > is just bogus, not well thought out re-invention (IMO.) It seems that > > the pseudo-MIB scheme of sysctl is nice. On 1 June 1998 at 18:11, Mike Smith <mike@smith.net.au> wrote: > Personally, I like the basic idea (unified hierarchical namespace, > method-based access, etc), but sysctl (and kernfs') implementation is > unpleasantly inflexible. > > I also agree with Garrett that the filesystem metaphor isn't half bad > when it comes to at least basic access control for parameters, and this > is where either the Linux or NetBSD approaches lead the way. > > I'm also swayed in that we *do* need to follow the Linux lead at least > to the point where we can run their binaries with a reasonable degree > of success, so there's a little pressure on the border. -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNXSJxTeRhT8JRySpAQHElQQAyqP5fc30ho++pIceeTm4Z70w1LfrP8l/ /MNhV0igsg/NFhxzx01McM/f2YeybAdMhqq9ELDHuwcqLyTSTjB2r7IzNnCFxVIJ Wa1OqETjmEUALgdTujAhWIV9WlZb6rHVGiStxMIL4xa45bxYDX6KDR62sS3R6v9L 7Qf3uGmTcsk= =X1cw -----END PGP SIGNATURE----- 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?199806022324.SAA07302>