]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
mkswap: remove cruft from the man page
authorPhillip Susi <psusi@ubuntu.com>
Wed, 13 Nov 2013 15:30:52 +0000 (10:30 -0500)
committerKarel Zak <kzak@redhat.com>
Thu, 14 Nov 2013 11:29:54 +0000 (12:29 +0100)
I don't think there's any reason to continue to mention behavior
of kernels older than 10 years.

Signed-off-by: Phillip Susi <psusi@ubuntu.com>
disk-utils/mkswap.8

index 68cc40ba371f6c76fe9c121871458134ab232d60..e08aa03ce0951a82e95696beec846b1f47532014 100644 (file)
@@ -103,21 +103,13 @@ Display version information and exit.
 .SH NOTES
 The maximum useful size of a swap area depends on the architecture and
 the kernel version.
-It is roughly 2GiB on i386, PPC, m68k and ARM, 1GiB on sparc, 512MiB on mips,
-128GiB on alpha, and 3TiB on sparc64.  For kernels after 2.3.3 (May 1999) there is no
-such limitation.
 
 The maximum number of the pages that is possible to address by swap area header
 is 4294967295 (UINT_MAX). The remaining space on the swap device is ignored.
 
-Note that before version 2.1.117 the kernel allocated one byte for each page,
-while it now allocates two bytes, so that taking into use a swap area of 2 GiB
-might require 2 MiB of kernel memory.
-
-Presently, Linux allows 32 swap areas (this was 8 before Linux 2.4.10 (Sep 2001)).
+Presently, Linux allows 32 swap areas.
 The areas in use can be seen in the file
 .I /proc/swaps
-(since 2.1.25 (Sep 1997)).
 
 .B mkswap
 refuses areas smaller than 10 pages.