Add a note about sysctl's deprecated -w option.

PR:		docs/48482
Inspired by:	Denis N. Peplin
This commit is contained in:
Giorgos Keramidas 2003-02-27 18:59:42 +00:00
parent 534c062d58
commit 0e64780ff8
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=16137

View file

@ -3961,6 +3961,13 @@ quit</programlisting>
<screen>&prompt.root; <userinput>sysctl -w kern.timecounter.method=1</userinput></screen> <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 <para>This means a performance impact, but considering the cause
of this problem, you probably will not notice. If the problem of this problem, you probably will not notice. If the problem
persists, keep the sysctl set to one and set the persists, keep the sysctl set to one and set the