Update to r53775:
handbook: remove "creating a Swap File" for 9.x and older 9.x is no longer supported
This commit is contained in:
parent
27a192894b
commit
6ad3ed071c
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=53788
1 changed files with 2 additions and 40 deletions
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
$FreeBSD$
|
$FreeBSD$
|
||||||
$FreeBSDde: de-docproj/books/handbook/config/chapter.xml,v 1.151 2011/12/19 14:55:31 bcr Exp $
|
$FreeBSDde: de-docproj/books/handbook/config/chapter.xml,v 1.151 2011/12/19 14:55:31 bcr Exp $
|
||||||
basiert auf: r53618
|
basiert auf: r53775
|
||||||
-->
|
-->
|
||||||
<chapter xmlns="http://docbook.org/ns/docbook"
|
<chapter xmlns="http://docbook.org/ns/docbook"
|
||||||
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
|
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
|
||||||
|
@ -3006,8 +3006,7 @@ kern.maxvnodes: 100000</screen>
|
||||||
angepassten Kernels.</para>
|
angepassten Kernels.</para>
|
||||||
|
|
||||||
<example xml:id="swapfile-10-and-later">
|
<example xml:id="swapfile-10-and-later">
|
||||||
<title>Erstellen einer Swap-Datei unter
|
<title>Erstellen einer Swap-Datei</title>
|
||||||
&os; 10.<replaceable>X</replaceable> und neuer</title>
|
|
||||||
|
|
||||||
<procedure>
|
<procedure>
|
||||||
<step>
|
<step>
|
||||||
|
@ -3043,43 +3042,6 @@ kern.maxvnodes: 100000</screen>
|
||||||
</step>
|
</step>
|
||||||
</procedure>
|
</procedure>
|
||||||
</example>
|
</example>
|
||||||
|
|
||||||
<example xml:id="swapfile-9-and-earlier">
|
|
||||||
<title>Erstellen einer Swap-Datei unter
|
|
||||||
&os; 9.<replaceable>X</replaceable> und älter</title>
|
|
||||||
|
|
||||||
<procedure>
|
|
||||||
<step>
|
|
||||||
<para>Erstellen Sie die Swap-Datei
|
|
||||||
<filename>/usr/swap0</filename>:</para>
|
|
||||||
|
|
||||||
<screen>&prompt.root; <userinput>dd if=/dev/zero of=<replaceable>/usr/swap0</replaceable> bs=1024k count=<replaceable>64</replaceable></userinput></screen>
|
|
||||||
</step>
|
|
||||||
|
|
||||||
<step>
|
|
||||||
<para>Setzen Sie die richtigen Berechtigungen für die neue
|
|
||||||
Datei:</para>
|
|
||||||
|
|
||||||
<screen>&prompt.root; <userinput>chmod 0600 <replaceable>/usr/swap0</replaceable></userinput></screen>
|
|
||||||
</step>
|
|
||||||
|
|
||||||
<step>
|
|
||||||
<para>Aktivieren Sie die Swap-Datei in
|
|
||||||
<filename>/etc/rc.conf</filename>:</para>
|
|
||||||
|
|
||||||
<programlisting>swapfile="/usr/swap0" # Set to name of swap file</programlisting>
|
|
||||||
</step>
|
|
||||||
|
|
||||||
<step>
|
|
||||||
<para>Um die Swap-Datei sofort zu aktivieren,
|
|
||||||
spezifizieren Sie ein speicherbasiertes Laufwerk.
|
|
||||||
<xref linkend="disks-virtual"/> enthält weitere
|
|
||||||
Informationen.</para>
|
|
||||||
|
|
||||||
<screen>&prompt.root; <userinput>mdconfig -a -t vnode -f <replaceable>/usr/swap0</replaceable> -u 0 && swapon <replaceable>/dev/md0</replaceable></userinput></screen>
|
|
||||||
</step>
|
|
||||||
</procedure>
|
|
||||||
</example>
|
|
||||||
</sect2>
|
</sect2>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue