]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
mkswap: add note about swap header limit to the man page
authorKarel Zak <kzak@redhat.com>
Thu, 1 Aug 2013 13:00:02 +0000 (15:00 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 1 Aug 2013 13:00:59 +0000 (15:00 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/mkswap.8

index 6435dd6aee4ca88a9f756167323fa169312db2f0..68cc40ba371f6c76fe9c121871458134ab232d60 100644 (file)
@@ -107,6 +107,9 @@ 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.