Skip to contentSkip to conversation

Remove cruft from mkswap man page

PATCH Applied Phillip Susi 2 participants 2 messages Nov 13, 2013 – Nov 14, 2013 Util-Linux package

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove cruft from mkswap man page

I don't think there's any reason to continue to mention behavior of kernels older than 10 years.

---
 disk-utils/mkswap.8 | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)
disk-utils/mkswap.8 +1 -9
index 68cc40b..e08aa03 100644
@@ -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.
Signature · 1 line
1.8.3.2
maintainer Applied
#1 lore raw
Quoted 2 lines · Phillip Susi

I don't think there's any reason to continue to mention behavior of kernels older than 10 years.

..but...but.. it's our history, you're sooo pedantic.

Applied, thanks :-)

Karel

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com