From owner-freebsd-doc Fri Feb 21 19:20: 9 2003 Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9745237B401 for ; Fri, 21 Feb 2003 19:20:07 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24DC343FE9 for ; Fri, 21 Feb 2003 19:20:07 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h1M3K7NS072028 for ; Fri, 21 Feb 2003 19:20:07 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h1M3K7uV072027; Fri, 21 Feb 2003 19:20:07 -0800 (PST) Date: Fri, 21 Feb 2003 19:20:07 -0800 (PST) Message-Id: <200302220320.h1M3K7uV072027@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org Cc: From: Giorgos Keramidas Subject: Re: docs/48482: using deprecated sysctl option in FAQ Reply-To: Giorgos Keramidas Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR docs/48482; it has been noted by GNATS. From: Giorgos Keramidas To: Tom Rhodes Cc: bug-followup@FreeBSD.org Subject: Re: docs/48482: using deprecated sysctl option in FAQ Date: Sat, 22 Feb 2003 05:12:30 +0200 On 2003-02-21 20:55, Tom Rhodes wrote: > On Fri, 21 Feb 2003 17:50:09 -0800 (PST) > Giorgos Keramidas wrote: > > Well, just to be on the safe side here, since the FAQ is supposed to > > document stuff for previous versions too, can we leave it there? Or > > perhaps, add a small note that "versions of FreeBSD newer than 4.4 > > don't need -w to work". > > My 3 day old RELENG_4 build has the same thing as the HEAD version of > sysctl(8). So basicly its gone, I don't have a cvs history for you, > but if we are following 4.8 then this should be probly be removed. Looking through the CVS logs, -w was marked as deprecated in 1.32 of sysctl.c which was later merged as 1.25.2.5. The oldest release that was branched *after* that point was 4.4-REL. Since this release is barely than 1.5 year old, I would like a note to see added instead of the -w option being simply removed from the docs. We should really support as many releases as possible in our documentation, otherwise the note at the beginning of the FAQ is a blatant lie. This is the FAQ for FreeBSD versions 2.X, 3.X, and 4.X. All entries are assumed to be relevant to FreeBSD 2.0.5 and later, unless otherwise noted. Does something like the following look ok? %%% Index: book.sgml =================================================================== RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/faq/book.sgml,v retrieving revision 1.511 diff -u -r1.511 book.sgml --- book.sgml 19 Feb 2003 07:25:18 -0000 1.511 +++ book.sgml 22 Feb 2003 03:11:17 -0000 @@ -3960,6 +3960,13 @@ &prompt.root; sysctl -w kern.timecounter.method=1 + + The option of &man.sysctl.8; is + deprecated and silently ignored in &os; 4.4-RELEASE and all + newer versions. You can safely ommit it when setting options + with sysctl as shown above. + + This means a performance impact, but considering the cause of this problem, you probably will not notice. If the problem persists, keep the sysctl set to one and set the %%% - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message