X-Git-Url: http://git.wpitchoune.net/gitweb/?p=www.git;a=blobdiff_plain;f=www%2Ftricks%2Fraspberry_pi3_increase_swap_size.html;h=e8d5eff552b88fd8a19a29fe84ab8a2b248b4595;hp=3a8e8f8815a38a03f1bdff40ad4585c6e9698b8d;hb=7727872201216e0b0b843d8a73a0b544bf78a7a8;hpb=50069149c3083de49613e48143ed306f53d2b528 diff --git a/www/tricks/raspberry_pi3_increase_swap_size.html b/www/tricks/raspberry_pi3_increase_swap_size.html index 3a8e8f8..e8d5eff 100644 --- a/www/tricks/raspberry_pi3_increase_swap_size.html +++ b/www/tricks/raspberry_pi3_increase_swap_size.html @@ -21,7 +21,7 @@
-
dphys-swapfile swapoff
+
sudo dphys-swapfile swapoff
@@ -31,13 +31,17 @@

As root, edit the file /etc/dphys-swapfile and modify -the variable dphys-swapfile:

+the variable CONF_SWAPSIZE:

CONF_SWAPSIZE=1024
+
+

To modify the swap file, edit the variable CONF_SWAPFILE, and run +dphys-swapfile setup which will create and initialize the file.

+
@@ -45,7 +49,7 @@ the variable dphys-swapfile:

-
dphys-swapfile swapon
+
sudo dphys-swapfile swapon
@@ -53,7 +57,7 @@ the variable dphys-swapfile: