summaryrefslogtreecommitdiffstats
path: root/mount/swapon.8
diff options
context:
space:
mode:
authorKarel Zak2006-12-07 00:26:05 +0100
committerKarel Zak2006-12-07 00:26:05 +0100
commit95f1bdeee42cd7b9ac49d64b27bcec49557a991e (patch)
tree5813d335771188c724c3d1bc9f9f9feb23c1d9ca /mount/swapon.8
parentImported from util-linux-2.11w tarball. (diff)
downloadkernel-qcow2-util-linux-95f1bdeee42cd7b9ac49d64b27bcec49557a991e.tar.gz
kernel-qcow2-util-linux-95f1bdeee42cd7b9ac49d64b27bcec49557a991e.tar.xz
kernel-qcow2-util-linux-95f1bdeee42cd7b9ac49d64b27bcec49557a991e.zip
Imported from util-linux-2.11x tarball.
Diffstat (limited to 'mount/swapon.8')
-rw-r--r--mount/swapon.816
1 files changed, 13 insertions, 3 deletions
diff --git a/mount/swapon.8 b/mount/swapon.8
index 4e03cf383..6dca7eb3d 100644
--- a/mount/swapon.8
+++ b/mount/swapon.8
@@ -44,7 +44,7 @@ swapon, swapoff \- enable/disable devices and files for paging and swapping
.SH SYNOPSIS
.B /sbin/swapon [\-h \-V]
.br
-.B /sbin/swapon \-a [\-v]
+.B /sbin/swapon \-a [\-v] [\-e]
.br
.BI "/sbin/swapon [\-v] [\-p " "priority" "] " " specialfile " ...
.br
@@ -78,9 +78,19 @@ Display swap usage summary by device. Equivalent to "cat /proc/swaps".
Not available before Linux 2.1.25.
.TP
.B \-a
-All devices marked as ``sw'' swap devices in
+All devices marked as ``swap'' swap devices in
.I /etc/fstab
-are made available.
+are made available. Devices that are already running as swap are silently
+skipped.
+.TP
+.B \-e
+When
+.B \-a
+is used with swapon,
+.B
+\-e
+makes swapon silently skip devices that
+do not exist.
.TP
.BI \-p " priority"
Specify priority for