summaryrefslogtreecommitdiffstats
path: root/mount/swapon.8
diff options
context:
space:
mode:
authorKarel Zak2010-11-10 11:48:30 +0100
committerKarel Zak2010-11-10 11:48:30 +0100
commit37f243ed57e5a783c19c4784cf24dfed52b89e32 (patch)
treedd4fca82292518017f1a1a94693076752b8d012f /mount/swapon.8
parentdocs: remove ipc.texi (info with IPC API docs) (diff)
downloadkernel-qcow2-util-linux-37f243ed57e5a783c19c4784cf24dfed52b89e32.tar.gz
kernel-qcow2-util-linux-37f243ed57e5a783c19c4784cf24dfed52b89e32.tar.xz
kernel-qcow2-util-linux-37f243ed57e5a783c19c4784cf24dfed52b89e32.zip
swapon: better text for "discard", note about swapon in fstab.5
Suggested by Hugh Dickins. Thanks. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/swapon.8')
-rw-r--r--mount/swapon.86
1 files changed, 3 insertions, 3 deletions
diff --git a/mount/swapon.8 b/mount/swapon.8
index e35c6e5f5..1fe62987a 100644
--- a/mount/swapon.8
+++ b/mount/swapon.8
@@ -113,14 +113,14 @@ are made available, except for those with the ``noauto'' option.
Devices that are already being used as swap are silently skipped.
.TP
.B "\-d, \-\-discard"
-Swapping will discard clusters of swap pages in between freeing them
-and re-writing to them, if the swap device supports that.
+Discard freed swap pages before they are reused, if the swap
+device supports the discard or trim operation. This may improve
+performance on some Solid State Devices, but often it does not.
The
.I /etc/fstab
mount option
.BI discard
may be also used to enable discard flag.
-
.TP
.B "\-e, \-\-ifexists"
Silently skip devices that do not exist.