summaryrefslogtreecommitdiff
path: root/mount/swapon.8
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2006-12-07 00:25:37 +0100
committerKarel Zak <kzak@redhat.com>2006-12-07 00:25:37 +0100
commit5c36a0eb7cdb0360f9afd5d747c321f423b35984 (patch)
tree147599a77eaff2b5fbc0d389e89d2b51602326c0 /mount/swapon.8
parent2b6fc908bc368b540845a313c3b8a867c5ad9a42 (diff)
downloadutil-linux-old-5c36a0eb7cdb0360f9afd5d747c321f423b35984.tar.gz
Imported from util-linux-2.9i tarball.
Diffstat (limited to 'mount/swapon.8')
-rw-r--r--mount/swapon.814
1 files changed, 8 insertions, 6 deletions
diff --git a/mount/swapon.8 b/mount/swapon.8
index 0ebb450a..74f61eea 100644
--- a/mount/swapon.8
+++ b/mount/swapon.8
@@ -74,7 +74,10 @@ Provide help
Display version
.TP
.B \-s
-Display swap usage summary by device
+Display swap usage summary by device.
+This option is only available if
+.I /proc/swaps
+exists (probably not before kernel 2.1.25).
.TP
.B \-a
All devices marked as ``sw'' swap devices in
@@ -104,6 +107,10 @@ entries in
when the
.B \-a
flag is given.
+.SH NOTE
+You should not use
+.B swapon
+on a file with holes.
.SH SEE ALSO
.BR swapon "(2), " swapoff "(2), " fstab "(5), " init "(8), " mkswap (8),
.BR rc "(8), " mount (8)
@@ -120,8 +127,3 @@ ascii filesystem description table
The
.B swapon
command appeared in 4.0BSD.
-.SH AUTHORS
-See the Linux
-.BR mount (8)
-man page for a complete author list. Primary contributors include Doug
-Quale, H. J. Lu, Rick Sladkey, and Stephen Tweedie.