Handbook: "Adding Swap Space", increase the example size from 64M to 512M
In modern times a swap file with a size of 64M doesn't make that much sense, so increase the size in the example to 512M. Reviewed by: bcr (mentor) Approved by: bcr (mentor) Differential Revision: https://reviews.freebsd.org/D25643
This commit is contained in:
parent
5450beb508
commit
de85f76b5c
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=54337
1 changed files with 2 additions and 2 deletions
|
|
@ -2778,7 +2778,7 @@ kern.maxvnodes: 100000</screen>
|
|||
<sect2 xml:id="create-swapfile">
|
||||
<title>Creating a Swap File</title>
|
||||
|
||||
<para>These examples create a 64M swap file called
|
||||
<para>These examples create a 512M swap file called
|
||||
<filename>/usr/swap0</filename> instead of using a
|
||||
partition.</para>
|
||||
|
||||
|
|
@ -2795,7 +2795,7 @@ kern.maxvnodes: 100000</screen>
|
|||
<step>
|
||||
<para>Create the swap file:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>dd if=/dev/zero of=<replaceable>/usr/swap0</replaceable> bs=1m count=<replaceable>64</replaceable></userinput></screen>
|
||||
<screen>&prompt.root; <userinput>dd if=/dev/zero of=<replaceable>/usr/swap0</replaceable> bs=1m count=<replaceable>512</replaceable></userinput></screen>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue