X-Git-Url: http://git.wpitchoune.net/gitweb/?p=www.git;a=blobdiff_plain;f=www%2Ftricks%2Fraspberry_pi3_increase_swap_size.html;h=1f574464c9bcfbd99ebe98fbf16c0564ee950edf;hp=c8eca9e2e68bdf50f310f389354480595d06f258;hb=d7e1a71bbeaf3f2c11afc93ec71fff6afc1f380a;hpb=1f83d0399974c77c7611de259f8b56066770b2c5 diff --git a/www/tricks/raspberry_pi3_increase_swap_size.html b/www/tricks/raspberry_pi3_increase_swap_size.html index c8eca9e..1f57446 100644 --- a/www/tricks/raspberry_pi3_increase_swap_size.html +++ b/www/tricks/raspberry_pi3_increase_swap_size.html @@ -5,7 +5,7 @@ -Raspberry PI increase swap size +Raspberry PI - increase swap size @@ -13,28 +13,22 @@
-
-
    -
  1. -

    Stop the swap

    -
  2. -
-
+
+

Stop the swap

+
dphys-swapfile swapoff
-
-
    -
  1. -

    Modify the size of the swap

    -
  2. -
+
+
+

Modify the size of the swap

+

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

@@ -44,22 +38,22 @@ the variable dphys-swapfile:

CONF_SWAPSIZE=1024
-
-
    -
  1. -

    Start the swap

    -
  2. -
+
+
+

Start the swap

+
dphys-swapfile swapon
+
+