Subject: Re: obsoleting sysctl(8)'s -w flag
To: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
From: Robert Elz <kre@munnari.OZ.AU>
List: tech-userlevel
Date: 03/05/2002 19:50:34
Date: Mon, 4 Mar 2002 04:36:12 +0100 (MET)
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
Message-ID: <Pine.GSO.4.21.0203040434140.5246-100000@rfhpc8317>
| The patch below changes sysctl(8) to not require the -w flag when setting
| a variable. Just "sysctl foo=var" is really enough. Inspired by FreeBSD.
|
| Any objections to commit?
What happens to sysctl variables with an '=' in their name?
Oh well, Bill's objection was a better one...
(I'd actually quite like to see this, it would be a nicer interface,
but I suspect that the way it is now is much safer).
kre