Subject: Re: obsoleting sysctl(8)'s -w flag
To: None <firstname.lastname@example.org>
From: David Laight <email@example.com>
Date: 03/05/2002 17:39:05
On Tue, Mar 05, 2002 at 07:50:34PM +0700, Robert Elz wrote:
> Date: Mon, 4 Mar 2002 04:36:12 +0100 (MET)
> From: Hubert Feyrer <firstname.lastname@example.org>
> 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).
Maybe confuse people by only requiring the '-w' if stdin
isn't a tty?
David Laight: email@example.com