summaryrefslogtreecommitdiffstats
path: root/mount/swapon.8
diff options
context:
space:
mode:
Diffstat (limited to 'mount/swapon.8')
-rw-r--r--mount/swapon.811
1 files changed, 11 insertions, 0 deletions
diff --git a/mount/swapon.8 b/mount/swapon.8
index 595198d51..e35c6e5f5 100644
--- a/mount/swapon.8
+++ b/mount/swapon.8
@@ -54,6 +54,7 @@ Enable/disable:
.br
.in +5
.B swapon
+.RB [ \-d ]
.RB [ \-f ]
.RB [ \-p
.IR priority ]
@@ -111,6 +112,16 @@ All devices marked as ``swap'' in
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.
+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.
The