From owner-freebsd-hackers Thu Jun 4 04:43:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA23805 for freebsd-hackers-outgoing; Thu, 4 Jun 1998 04:43:02 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA23754; Thu, 4 Jun 1998 04:42:53 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id LAA18728; Thu, 4 Jun 1998 11:41:23 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id NAA08823; Thu, 4 Jun 1998 13:40:51 +0200 (MET DST) Message-ID: <19980604134051.48560@follo.net> Date: Thu, 4 Jun 1998 13:40:51 +0200 From: Eivind Eklund To: dyson@FreeBSD.ORG, Mike Smith Cc: jonny@jonny.eng.br, mike@dingo.cdrom.com, hackers@FreeBSD.ORG Subject: Re: kernfs/procfs questions... References: <199806040536.WAA00588@antipodes.cdrom.com> <199806040744.CAA00761@dyson.iquest.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <199806040744.CAA00761@dyson.iquest.net>; from John S. Dyson on Thu, Jun 04, 1998 at 02:44:46AM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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