diff options
author | Eitan Adler <eadler@FreeBSD.org> | 2020-01-13 00:14:34 +0000 |
---|---|---|
committer | Eitan Adler <eadler@FreeBSD.org> | 2020-01-13 00:14:34 +0000 |
commit | e82e74c619163d46e41465abb213dd80d26db726 (patch) | |
tree | 0ba1e759a40733167d1708269aea98282c00e562 /en_US.ISO8859-1/books | |
parent | a7d82f23f2a240b5f2b180c4fa786773d11bd15e (diff) | |
download | doc-e82e74c619163d46e41465abb213dd80d26db726.tar.gz doc-e82e74c619163d46e41465abb213dd80d26db726.zip |
handbook: remove "creating a Swap File" for 9.x and older
9.x is no longer supported
Notes
Notes:
svn path=/head/; revision=53775
Diffstat (limited to 'en_US.ISO8859-1/books')
-rw-r--r-- | en_US.ISO8859-1/books/handbook/config/chapter.xml | 40 |
1 files changed, 1 insertions, 39 deletions
diff --git a/en_US.ISO8859-1/books/handbook/config/chapter.xml b/en_US.ISO8859-1/books/handbook/config/chapter.xml index ba8e6d3995..01514d30ea 100644 --- a/en_US.ISO8859-1/books/handbook/config/chapter.xml +++ b/en_US.ISO8859-1/books/handbook/config/chapter.xml @@ -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> @@ -2824,43 +2823,6 @@ kern.maxvnodes: 100000</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> </sect2> </sect1> |