summaryrefslogtreecommitdiff
path: root/disk-utils/mkswap.8
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2009-03-11 15:23:16 +0100
committerKarel Zak <kzak@redhat.com>2009-03-11 15:23:16 +0100
commit4c85aa3a4c26f2a2c33bf16960b548d5bbd5b4bf (patch)
tree801e5bbe67e14c0d8368e6bc43a97fcde784eb2b /disk-utils/mkswap.8
parent929f243f79c4fdf3e89dad5134e53bf001598a5e (diff)
downloadutil-linux-old-4c85aa3a4c26f2a2c33bf16960b548d5bbd5b4bf.tar.gz
mkswap: remove v0 swap space support
The kernel has not supported v0 swap space format since 2.5.22. The new version v1 is supported since 2.1.117. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/mkswap.8')
-rw-r--r--disk-utils/mkswap.824
1 files changed, 8 insertions, 16 deletions
diff --git a/disk-utils/mkswap.8 b/disk-utils/mkswap.8
index 2f5f0a88..2f405313 100644
--- a/disk-utils/mkswap.8
+++ b/disk-utils/mkswap.8
@@ -7,7 +7,7 @@
.SH NAME
mkswap \- set up a Linux swap area
.SH SYNOPSIS
-.BI "mkswap [\-c] [\-v" N "] [\-f] [\-p " PSZ "] [\-L " label "] [\-U " uuid "] " device " [" size "]"
+.BI "mkswap [\-c] [\-f] [\-p " PSZ "] [\-L " label "] [\-U " uuid "] " device " [" size "]"
.SH DESCRIPTION
.B mkswap
sets up a Linux swap area on a device or in a file.
@@ -138,23 +138,15 @@ Specify the page size to use.
Specify a label, to allow swapon by label.
(Only for new style swap areas.)
.TP
-.B \-v0
-Create an old style swap area.
-.TP
-.B \-v1
-Create a new style swap area.
+.B \-v0, \-v1
+Specify the swap space version. This option is deprecated and \-v1 is
+supported only.
-.LP
-If no \-v option is given,
-.B mkswap
-will default to new style, but use old style if the current kernel
-is older than 2.1.117 (and also if PAGE_SIZE is less than 2048).
-The new style header does not touch the first block, so may be
-preferable, in case you have a boot loader or disk label there.
-If you need to use both 2.0 and 2.2 kernels, use the \-v0 option
-when creating the swapspace.
+The kernel has not supported v0 swap space format since 2.5.22. The new version
+v1 is supported since 2.1.117.
-Version 0 (-v0) swap space format is no longer supported in 2.5+ kernels.
+The new v1 style header does not touch the first block, so may be
+preferable, in case you have a boot loader or disk label there.
.TP
.B \-U uuid