Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 1998 13:40:51 +0200
From:      Eivind Eklund <eivind@yes.no>
To:        dyson@FreeBSD.ORG, Mike Smith <mike@smith.net.au>
Cc:        jonny@jonny.eng.br, mike@dingo.cdrom.com, hackers@FreeBSD.ORG
Subject:   Re: kernfs/procfs questions...
Message-ID:  <19980604134051.48560@follo.net>
In-Reply-To: <199806040744.CAA00761@dyson.iquest.net>; from John S. Dyson on Thu, Jun 04, 1998 at 02:44:46AM -0500
References:  <199806040536.WAA00588@antipodes.cdrom.com> <199806040744.CAA00761@dyson.iquest.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 04, 1998 at 02:44:46AM -0500, John S. Dyson wrote:
> One cool thing about sysctl vs. kernfs type schemes, is that for
> the kernfs to be useful for shell scripts, you have to do the
> ascii to binary and vice versa conversions (assuming that the kernel
> isn't doing brain-dead ascii/binary/ascii conversions.)  With sysctl,
> the types are managed for you in user space.  :-).  I think that it is
> extremely ugly to have to ascii convert things in the kernel (even though
> I am guilty of it.)  By the time you create a filter to do the conversions
> (using a more reasonable kernel binary interface), then you have yet
> another sysctl program to interpret your kernfs. :-).

mount -t portal /etc/kernel_portal.conf /kern

:-)

Eivind.

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?19980604134051.48560>