summaryrefslogtreecommitdiff
path: root/man/systemd.swap.html
diff options
context:
space:
mode:
Diffstat (limited to 'man/systemd.swap.html')
-rw-r--r--man/systemd.swap.html13
1 files changed, 7 insertions, 6 deletions
diff --git a/man/systemd.swap.html b/man/systemd.swap.html
index 282729e43e..08acb3158e 100644
--- a/man/systemd.swap.html
+++ b/man/systemd.swap.html
@@ -18,8 +18,8 @@
</style><a href="index.html">Index </a>·
<a href="systemd.directives.html">Directives </a>·
<a href="../python-systemd/index.html">Python </a>·
- <a href="../libudev/index.html">libudev </a>·
- <a href="../libudev/index.html">gudev </a><span style="float:right">systemd 220</span><hr><div class="refentry"><a name="systemd.swap"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>systemd.swap — Swap unit configuration</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><p><code class="filename"><em class="replaceable"><code>swap</code></em>.swap</code></p></div><div class="refsect1"><a name="idm139731830908016"></a><h2 id="Description">Description<a class="headerlink" title="Permalink to this headline" href="#Description">¶</a></h2><p>A unit configuration file whose name ends in
+
+ <span style="float:right">systemd 221</span><hr><div class="refentry"><a name="systemd.swap"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>systemd.swap — Swap unit configuration</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><p><code class="filename"><em class="replaceable"><code>swap</code></em>.swap</code></p></div><div class="refsect1"><a name="idm47667484672848"></a><h2 id="Description">Description<a class="headerlink" title="Permalink to this headline" href="#Description">¶</a></h2><p>A unit configuration file whose name ends in
"<code class="literal">.swap</code>" encodes information about a swap device
or file for memory paging controlled and supervised by
systemd.</p><p>This man page lists the configuration options specific to
@@ -48,7 +48,7 @@
they are activated from.</p><p>Swap units with <code class="varname">DefaultDependencies=</code>
enabled implicitly acquire a conflicting dependency to
<code class="filename">umount.target</code> so that they are deactivated at
- shutdown.</p></div><div class="refsect1"><a name="idm139731825996304"></a><h2 id="fstab"><code class="filename">fstab</code><a class="headerlink" title="Permalink to this headline" href="#fstab">¶</a></h2><p>Swap units may either be configured via unit files, or via
+ shutdown.</p></div><div class="refsect1"><a name="idm47667487264368"></a><h2 id="fstab"><code class="filename">fstab</code><a class="headerlink" title="Permalink to this headline" href="#fstab">¶</a></h2><p>Swap units may either be configured via unit files, or via
<code class="filename">/etc/fstab</code> (see
<a href="http://man7.org/linux/man-pages/man5/fstab.5.html"><span class="citerefentry"><span class="refentrytitle">fstab</span>(5)</span></a>
for details). Swaps listed in <code class="filename">/etc/fstab</code> will
@@ -68,7 +68,7 @@
will be only wanted, not required by
<code class="filename">swap.target</code>. This means that the boot
will continue even if this swap device is not activated
- successfully.</p></dd></dl></div></div><div class="refsect1"><a name="idm139731825982576"></a><h2 id="Options">Options<a class="headerlink" title="Permalink to this headline" href="#Options">¶</a></h2><p>Swap files must include a [Swap] section, which carries
+ successfully.</p></dd></dl></div></div><div class="refsect1"><a name="idm47667484459632"></a><h2 id="Options">Options<a class="headerlink" title="Permalink to this headline" href="#Options">¶</a></h2><p>Swap files must include a [Swap] section, which carries
information about the swap device it supervises. A number of
options that may be used in this section are shared with other
unit types. These options are documented in
@@ -88,7 +88,8 @@
for more information.) This option is
mandatory.</p></dd><dt id="Priority="><span class="term"><code class="varname">Priority=</code></span><a class="headerlink" title="Permalink to this term" href="#Priority=">¶</a></dt><dd><p>Swap priority to use when activating the swap
device or file. This takes an integer. This setting is
- optional.</p></dd><dt id="Options="><span class="term"><code class="varname">Options=</code></span><a class="headerlink" title="Permalink to this term" href="#Options=">¶</a></dt><dd><p>May contain an option string for the swap
+ optional and ignored when priority is set by <code class="option">pri=</code> in the
+ <code class="varname">Options=</code> option.</p></dd><dt id="Options="><span class="term"><code class="varname">Options=</code></span><a class="headerlink" title="Permalink to this term" href="#Options=">¶</a></dt><dd><p>May contain an option string for the swap
device. This may be used for controlling discard options among
other functionality, if the swap backing device supports the
discard or trim operation. (See
@@ -111,7 +112,7 @@
<a href="systemd.exec.html"><span class="citerefentry"><span class="refentrytitle">systemd.exec</span>(5)</span></a>
and
<a href="systemd.kill.html"><span class="citerefentry"><span class="refentrytitle">systemd.kill</span>(5)</span></a>
- for more settings.</p></div><div class="refsect1"><a name="idm139731825963104"></a><h2 id="See Also">See Also<a class="headerlink" title="Permalink to this headline" href="#See%20Also">¶</a></h2><p>
+ for more settings.</p></div><div class="refsect1"><a name="idm47667484439264"></a><h2 id="See Also">See Also<a class="headerlink" title="Permalink to this headline" href="#See%20Also">¶</a></h2><p>
<a href="systemd.html"><span class="citerefentry"><span class="refentrytitle">systemd</span>(1)</span></a>,
<a href="systemctl.html"><span class="citerefentry"><span class="refentrytitle">systemctl</span>(1)</span></a>,
<a href="systemd.unit.html"><span class="citerefentry"><span class="refentrytitle">systemd.unit</span>(5)</span></a>,