projects
/
www.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moving psensor to gitlab news
[www.git]
/
www
/
tricks
/
raspberry_pi3_increase_swap_size.html
diff --git
a/www/tricks/raspberry_pi3_increase_swap_size.html
b/www/tricks/raspberry_pi3_increase_swap_size.html
index
3a8e8f8
..
db7a25c
100644
(file)
--- a/
www/tricks/raspberry_pi3_increase_swap_size.html
+++ b/
www/tricks/raspberry_pi3_increase_swap_size.html
@@
-4,10
+4,10
@@
<meta charset="UTF-8">
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
-<meta name="generator" content="Asciidoctor 1.5.
4
">
+<meta name="generator" content="Asciidoctor 1.5.
5
">
<title>Raspberry PI - increase swap size</title>
<link rel="stylesheet" href="./../style.css">
<title>Raspberry PI - increase swap size</title>
<link rel="stylesheet" href="./../style.css">
-<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.
5.0
/css/font-awesome.min.css">
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.
6.3
/css/font-awesome.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script src="../nav.js"></script>
</head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script src="../nav.js"></script>
</head>
@@
-21,7
+21,7
@@
<div class="sectionbody">
<div class="listingblock">
<div class="content">
<div class="sectionbody">
<div class="listingblock">
<div class="content">
-<pre>dphys-swapfile swapoff</pre>
+<pre>
sudo
dphys-swapfile swapoff</pre>
</div>
</div>
</div>
</div>
</div>
</div>
@@
-31,13
+31,17
@@
<div class="sectionbody">
<div class="paragraph">
<p>As <code>root</code>, edit the file <code>/etc/dphys-swapfile</code> and modify
<div class="sectionbody">
<div class="paragraph">
<p>As <code>root</code>, edit the file <code>/etc/dphys-swapfile</code> and modify
-the variable <code>
dphys-swapfile
</code>:</p>
+the variable <code>
CONF_SWAPSIZE
</code>:</p>
</div>
<div class="listingblock">
<div class="content">
<pre>CONF_SWAPSIZE=1024</pre>
</div>
</div>
</div>
<div class="listingblock">
<div class="content">
<pre>CONF_SWAPSIZE=1024</pre>
</div>
</div>
+<div class="paragraph">
+<p>To modify the swap file, edit the variable <code>CONF_SWAPFILE</code>, and run
+<code>dphys-swapfile setup</code> which will create and initialize the file.</p>
+</div>
</div>
</div>
<div class="sect1">
</div>
</div>
<div class="sect1">
@@
-45,7
+49,7
@@
the variable <code>dphys-swapfile</code>:</p>
<div class="sectionbody">
<div class="listingblock">
<div class="content">
<div class="sectionbody">
<div class="listingblock">
<div class="content">
-<pre>dphys-swapfile swapon</pre>
+<pre>
sudo
dphys-swapfile swapon</pre>
</div>
</div>
</div>
</div>
</div>
</div>
@@
-53,7
+57,7
@@
the variable <code>dphys-swapfile</code>:</p>
</div>
<div id="footer">
<div id="footer-text">
</div>
<div id="footer">
<div id="footer-text">
-Last updated 201
6-12-22 00:24:00 UTC
+Last updated 201
8-09-28 20:13:23 CEST
</div>
</div>
<footer>
</div>
</div>
<footer>