summaryrefslogtreecommitdiffstats
path: root/sys-utils/swapon.8
diff options
context:
space:
mode:
authorKarel Zak2013-08-23 13:02:18 +0200
committerKarel Zak2013-08-23 13:02:18 +0200
commit7bed68bf9ef19678bdff44f61b82e37a887f257c (patch)
tree00cac14583b12187063f69e6dcc6f9a908db1012 /sys-utils/swapon.8
parentswapon: allow a more flexible swap discard policy (diff)
downloadkernel-qcow2-util-linux-7bed68bf9ef19678bdff44f61b82e37a887f257c.tar.gz
kernel-qcow2-util-linux-7bed68bf9ef19678bdff44f61b82e37a887f257c.tar.xz
kernel-qcow2-util-linux-7bed68bf9ef19678bdff44f61b82e37a887f257c.zip
swapon: cleanup man page
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/swapon.8')
-rw-r--r--sys-utils/swapon.838
1 files changed, 5 insertions, 33 deletions
diff --git a/sys-utils/swapon.8 b/sys-utils/swapon.8
index 836b17277..d2f1bc51a 100644
--- a/sys-utils/swapon.8
+++ b/sys-utils/swapon.8
@@ -42,41 +42,13 @@
.SH NAME
swapon, swapoff \- enable/disable devices and files for paging and swapping
.SH SYNOPSIS
-Get info:
-.br
-.in +5
-.B swapon \-s
-.RB [ \-h ]
-.RB [ \-V ]
-.sp
-.in -5
-Enable/disable:
-.br
-.in +5
.B swapon
-.RB [ \-d ]
-.RB [ \-f ]
-.RB [ \-p
-.IR priority ]
-.RB [ \-v ]
-.IR specialfile ...
+[ options ]
+.RI [ specialfile... ]
.br
.B swapoff
-.RB [ \-v ]
-.IR specialfile ...
-.sp
-.in -5
-Enable/disable all:
-.br
-.in +5
-.B swapon \-a
-.RB [ \-e ]
-.RB [ \-f ]
-.RB [ \-v ]
-.br
-.B swapoff \-a
-.RB [ \-v ]
-.in -5
+.RB [ \-va ]
+.RI [ specialfile... ]
.SH DESCRIPTION
.B swapon
is used to specify devices on which paging and swapping are to take place.
@@ -175,7 +147,7 @@ When priority is not defined it defaults to \-1.
Display swap usage summary by device. Equivalent to "cat /proc/swaps".
Not available before Linux 2.1.25.
.TP
-\fB\-\-show\fR [\fIcolumn,column\fR]
+\fB\-\-show\fR [\fIcolumn\fR, ...]
Display definable device table similar to
.B \-\-summary
output. See \-\-help output for