svn commit: r40165 - head/en_US.ISO8859-1/books/faq
Eitan Adler
eadler at FreeBSD.org
Mon Nov 26 13:49:07 UTC 2012
Author: eadler
Date: Mon Nov 26 13:49:07 2012
New Revision: 40165
URL: http://svnweb.freebsd.org/changeset/doc/40165
Log:
Eliminate use of deprecated flag to sysctl.
Noted by: mjg
Approved by: bcr (mentor)
Modified:
head/en_US.ISO8859-1/books/faq/book.xml
Modified: head/en_US.ISO8859-1/books/faq/book.xml
==============================================================================
--- head/en_US.ISO8859-1/books/faq/book.xml Mon Nov 26 13:48:49 2012 (r40164)
+++ head/en_US.ISO8859-1/books/faq/book.xml Mon Nov 26 13:49:07 2012 (r40165)
@@ -3339,7 +3339,7 @@ kern.timecounter.hardware: ACPI-fast</sc
<varname>kern.timecounter.hardware</varname>
&man.sysctl.3;.</para>
- <screen>&prompt.root; <userinput>sysctl -w kern.timecounter.hardware=i8254</userinput>
+ <screen>&prompt.root; <userinput>sysctl kern.timecounter.hardware=i8254</userinput>
kern.timecounter.hardware: TSC -> i8254</screen>
<para>Your computer should now start keeping more accurate
@@ -5046,7 +5046,7 @@ C:\="DOS"</programlisting>
<varname>vfs.usermount</varname> to
<literal>1</literal>.</para>
- <screen>&prompt.root; <userinput>sysctl -w vfs.usermount=1</userinput></screen>
+ <screen>&prompt.root; <userinput>sysctl vfs.usermount=1</userinput></screen>
<para>To make this persist across reboots, add the line
<literal><varname>vfs.usermount</varname>=1</literal> to
@@ -7273,7 +7273,7 @@ Key F15 A A Menu Wo
like this, where <literal>300</literal> is the limit in
packets per second:</para>
- <screen>&prompt.root; <userinput>sysctl -w net.inet.icmp.icmplim=300</userinput></screen>
+ <screen>&prompt.root; <userinput>sysctl net.inet.icmp.icmplim=300</userinput></screen>
<para>If you do not want to see messages about this in your
log files, but you still want the kernel to do response
@@ -7281,7 +7281,7 @@ Key F15 A A Menu Wo
<varname>net.inet.icmp.icmplim_output</varname> sysctl
variable to disable the output like this:</para>
- <screen>&prompt.root; <userinput>sysctl -w net.inet.icmp.icmplim_output=0</userinput></screen>
+ <screen>&prompt.root; <userinput>sysctl net.inet.icmp.icmplim_output=0</userinput></screen>
<para>Finally, if you want to disable response limiting, you
can set the <varname>net.inet.icmp.icmplim</varname> sysctl
More information about the svn-doc-head
mailing list