From owner-freebsd-audit Mon May 6 7:23:53 2002 Delivered-To: freebsd-audit@freebsd.org Received: from green.bikeshed.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D6D4937B401; Mon, 6 May 2002 07:23:49 -0700 (PDT) Received: from localhost (green@localhost) by green.bikeshed.org (8.11.6/8.11.6) with ESMTP id g46ENmU18421; Mon, 6 May 2002 10:23:49 -0400 (EDT) (envelope-from green@green.bikeshed.org) Message-Id: <200205061423.g46ENmU18421@green.bikeshed.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Dima Dorfman Cc: audit@freebsd.org Subject: Re: sysctl -> sysctl -w In-Reply-To: Your message of "Mon, 06 May 2002 08:12:05 -0000." <20020506081205.4E1DB3E5C@turbine.trit.org> From: "Brian F. Feldman" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 06 May 2002 10:23:48 -0400 Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dima Dorfman 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 ]''''''''''\ <> green@FreeBSD.org <> bfeldman@tislabs.com \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message