Date: Fri, 21 Feb 2003 19:20:07 -0800 (PST) From: Giorgos Keramidas <keramida@FreeBSD.org> To: freebsd-doc@FreeBSD.org Subject: Re: docs/48482: using deprecated sysctl option in FAQ Message-ID: <200302220320.h1M3K7uV072027@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR docs/48482; it has been noted by GNATS.
From: Giorgos Keramidas <keramida@FreeBSD.org>
To: Tom Rhodes <trhodes@FreeBSD.org>
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 <trhodes@FreeBSD.org> wrote:
> On Fri, 21 Feb 2003 17:50:09 -0800 (PST)
> Giorgos Keramidas <keramida@FreeBSD.ORG> 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 @@
<screen>&prompt.root; <userinput>sysctl -w kern.timecounter.method=1</userinput></screen>
+ <note>
+ <para>The <option>-w</option> 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 <command>sysctl</command> as shown above.</para>
+ </note>
+
<para>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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302220320.h1M3K7uV072027>
