From e82e74c619163d46e41465abb213dd80d26db726 Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Mon, 13 Jan 2020 00:14:34 +0000 Subject: [PATCH] handbook: remove "creating a Swap File" for 9.x and older 9.x is no longer supported --- .../books/handbook/config/chapter.xml | 40 +------------------ 1 file changed, 1 insertion(+), 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 a custom kernel. - Creating a Swap File on - &os; 10.<replaceable>X</replaceable> and Later + Creating a Swap File @@ -2824,43 +2823,6 @@ kern.maxvnodes: 100000 - - - Creating a Swap File on - &os; 9.<replaceable>X</replaceable> and Earlier - - - - Create the swap file, - /usr/swap0: - - &prompt.root; dd if=/dev/zero of=/usr/swap0 bs=1m count=64 - - - - Set the proper permissions on - /usr/swap0: - - &prompt.root; chmod 0600 /usr/swap0 - - - - Enable the swap file in - /etc/rc.conf: - - swapfile="/usr/swap0" # Set to name of swap file - - - - Swap space will be added on system startup. To - enable the swap file immediately, specify a free memory - device. Refer to for - more information about memory devices. - - &prompt.root; mdconfig -a -t vnode -f /usr/swap0 -u 0 && swapon /dev/md0 - - -