summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-10-28 14:24:46 +0100
committerLennart Poettering <lennart@poettering.net>2014-10-28 14:31:25 +0100
commit47cb901e38cd7092576fc8e76cc4a14f39bf719d (patch)
tree7ca11b696f63e7ce2467139c455c89a47487101d /man
parent33488f19793dc0a86fdee27266c5319b5b78d695 (diff)
swap: replace Discard= setting by a more generic Options= setting
For now, it's systemd itself that parses the options string, but as soon as util-linux' swapon can take the option string directly with -o we should pass it on unmodified.
Diffstat (limited to 'man')
-rw-r--r--man/systemd.swap.xml16
1 files changed, 8 insertions, 8 deletions
diff --git a/man/systemd.swap.xml b/man/systemd.swap.xml
index 00fafdce2a..44c16e7bcc 100644
--- a/man/systemd.swap.xml
+++ b/man/systemd.swap.xml
@@ -171,14 +171,14 @@
</varlistentry>
<varlistentry>
- <term><varname>Discard=</varname></term>
-
- <listitem><para>Enable discards, if the swap
- backing device supports the discard or trim
- operation. Can be one of <literal>none</literal>,
- <literal>once</literal>, <literal>pages</literal>
- or <literal>all</literal>. Defaults to
- <literal>none</literal>. (See
+ <term><varname>Options=</varname></term>
+
+ <listitem><para>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
<citerefentry><refentrytitle>swapon</refentrytitle><manvolnum>8</manvolnum></citerefentry>
for more information.)
</para></listitem>