X-Git-Url: http://git.wpitchoune.net/gitweb/?p=www.git;a=blobdiff_plain;f=www%2Ftricks%2Fraspberry_pi3_increase_swap_size.html;h=3a8e8f8815a38a03f1bdff40ad4585c6e9698b8d;hp=c8eca9e2e68bdf50f310f389354480595d06f258;hb=08499c48587fd911dea96c8c42ea8db276c32eae;hpb=fab167737df8cbfdbbfd77cb2b7afc16d6c0dd53 diff --git a/www/tricks/raspberry_pi3_increase_swap_size.html b/www/tricks/raspberry_pi3_increase_swap_size.html index c8eca9e..3a8e8f8 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,23 +38,38 @@ the variable dphys-swapfile:

CONF_SWAPSIZE=1024
-
-
    -
  1. -

    Start the swap

    -
  2. -
+
+
+

Start the swap

+
dphys-swapfile swapon
+
+
+ \ No newline at end of file