Re: sysctl -> sysctl -w

"Brian F. Feldman" <[email protected]>
Newsgroups gmane.os.freebsd.devel.audit
Message-ID <[email protected]>
Dima Dorfman <[email protected]> wrote:
> Since the sysctl -w option was deprecated, we've occasionally seen
> commits that remove its usage from various parts of the tree.  Instead
> of seeing this go on in piecemeal, I'd like to fix most of them in one
> commit.  The following patch fixes this everywhere except contrib/,
> some of the KAME stuff (it should stay there, since KAME supports
> other BSDs, which still require -w), and some stuff that's still on a
> vendor branch (share/doc/smm and some stuff in picobsd; I didn't think
> it was worth taking it off for something like this).
> 
> If anyone knows why I shouldn't commit this, please speak up.
> 
> Thanks.
> 
> Index: UPDATING
> ===================================================================
> RCS file: /ref/cvsf/src/UPDATING,v
> retrieving revision 1.203
> diff -u -r1.203 UPDATING
> --- UPDATING	25 Apr 2002 14:41:39 -0000	1.203
> +++ UPDATING	6 May 2002 07:57:59 -0000
> @@ -861,7 +861,7 @@
>  	If you have really bad/marginal IDE drives, you may find they
>  	don't work well.  Use pio mode instead.  The easiest way to
>  	cope if you have a problem combination is to add:
> -		/sbin/sysctl -w hw.atamodes=pio,pio,pio,pio
> +		/sbin/sysctl hw.atamodes=pio,pio,pio,pio
>  	to the start of /etc/rc.conf.
>  
>  20000319:

I don't think you should commit that part.  It's for the past, anyway.  
Heck, the sysctl doesn't even exist anymore ;-)

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> [email protected]  <> [email protected]      \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\



To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-audit" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.