svn commit: r53775 - head/en_US.ISO8859-1/books/handbook/config

Eitan Adler eadler at FreeBSD.org
Mon Jan 13 00:14:35 UTC 2020


Author: eadler
Date: Mon Jan 13 00:14:34 2020
New Revision: 53775
URL: https://svnweb.freebsd.org/changeset/doc/53775

Log:
  handbook: remove "creating a Swap File" for 9.x and older
  
  9.x is no longer supported

Modified:
  head/en_US.ISO8859-1/books/handbook/config/chapter.xml

Modified: head/en_US.ISO8859-1/books/handbook/config/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/config/chapter.xml	Sat Jan 11 12:02:41 2020	(r53774)
+++ head/en_US.ISO8859-1/books/handbook/config/chapter.xml	Mon Jan 13 00:14:34 2020	(r53775)
@@ -2789,8 +2789,7 @@ kern.maxvnodes: 100000</screen>
 	a custom kernel.</para>
 
       <example xml:id="swapfile-10-and-later">
-	<title>Creating a Swap File on
-	  &os; 10.<replaceable>X</replaceable> and Later</title>
+	<title>Creating a Swap File</title>
 
 	<procedure>
 	  <step>
@@ -2821,43 +2820,6 @@ kern.maxvnodes: 100000</screen>
 	      swap space immediately, use &man.swapon.8;:</para>
 
 	    <screen>&prompt.root; <userinput>swapon -aL</userinput></screen>
-	  </step>
-	</procedure>
-      </example>
-
-      <example xml:id="swapfile-9-and-earlier">
-	<title>Creating a Swap File on
-	  &os; 9.<replaceable>X</replaceable> and Earlier</title>
-
-	<procedure>
-	  <step>
-	    <para>Create the swap file,
-	      <filename>/usr/swap0</filename>:</para>
-
-	    <screen>&prompt.root; <userinput>dd if=/dev/zero of=<replaceable>/usr/swap0</replaceable> bs=1m count=<replaceable>64</replaceable></userinput></screen>
-	  </step>
-
-	  <step>
-	    <para>Set the proper permissions on
-	      <filename>/usr/swap0</filename>:</para>
-
-	    <screen>&prompt.root; <userinput>chmod 0600 <replaceable>/usr/swap0</replaceable></userinput></screen>
-	  </step>
-
-	  <step>
-	    <para>Enable the swap file in
-	      <filename>/etc/rc.conf</filename>:</para>
-
-	    <programlisting>swapfile="<replaceable>/usr/swap0</replaceable>"   # Set to name of swap file</programlisting>
-	  </step>
-
-	  <step>
-	    <para>Swap space will be added on system startup.  To
-	      enable the swap file immediately, specify a free memory
-	      device.  Refer to <xref linkend="disks-virtual"/> for
-	      more information about memory devices.</para>
-
-	    <screen>&prompt.root; <userinput>mdconfig -a -t vnode -f <replaceable>/usr/swap0</replaceable> -u <replaceable>0</replaceable> && swapon /dev/md<replaceable>0</replaceable></userinput></screen>
 	  </step>
 	</procedure>
       </example>


More information about the svn-doc-all mailing list