rpms/util-linux/FC-4 util-linux-2.12p-mkswap-man.patch, NONE, 1.1 util-linux.spec, 1.81, 1.82
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Tue Aug 30 09:22:30 UTC 2005
Author: kzak
Update of /cvs/dist/rpms/util-linux/FC-4
In directory cvs.devel.redhat.com:/tmp/cvs-serv26013
Modified Files:
util-linux.spec
Added Files:
util-linux-2.12p-mkswap-man.patch
Log Message:
- add mkswap man page patch
util-linux-2.12p-mkswap-man.patch:
mkswap.8 | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
--- NEW FILE util-linux-2.12p-mkswap-man.patch ---
--- util-linux-2.12p/disk-utils/mkswap.8.swaplimit 2005-08-29 14:34:07.000000000 +0200
+++ util-linux-2.12p/disk-utils/mkswap.8 2005-08-29 15:01:54.000000000 +0200
@@ -76,9 +76,10 @@
to use a swap space with hundreds of bad blocks. (I would not even
use a swap space with 1 bad block.)
In the new style swap area this is precisely what is done.
-The maximum useful size of a swap area now depends on the architecture.
+
+The maximum useful size of a swap area depends on the architecture and kernel version.
It is roughly 2GiB on i386, PPC, m68k, ARM, 1GiB on sparc, 512MiB on mips,
-128GiB on alpha and 3TiB on sparc64.
+128GiB on alpha and 3TiB on sparc64. For kernels after 2.3.3 there is no that limitation.
Note that before 2.1.117 the kernel allocated one byte for each page,
while it now allocates two bytes, so that taking a swap area of 2 GiB
Index: util-linux.spec
===================================================================
RCS file: /cvs/dist/rpms/util-linux/FC-4/util-linux.spec,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -r1.81 -r1.82
--- util-linux.spec 29 Aug 2005 11:57:25 -0000 1.81
+++ util-linux.spec 30 Aug 2005 09:22:28 -0000 1.82
@@ -143,6 +143,8 @@
Patch204: util-linux-2.12p-mount-ocfs2.patch
# NULL is better than zero at end of execl()
Patch205: util-linux-2.12p-execl.patch
+# 159410 - mkswap(8) claims max swap area size is 2 GB
+Patch206: util-linux-2.12p-mkswap-man.patch
# When adding patches, please make sure that it is easy to find out what bug # the
# patch fixes.
@@ -276,6 +278,7 @@
%patch203 -p1 -b .gpt
%patch204 -p1
%patch205 -p1
+%patch206 -p1
%build
unset LINGUAS || :
@@ -669,6 +672,7 @@
%changelog
* Mon Aug 29 2005 Karel Zak <kzak at redhat.com> 2.12p-9.8
- fix #166923 - hwclock will not run on a non audit-enabled kernel
+- fix #159410 - mkswap(8) claims max swap area size is 2 GB
* Tue Jul 12 2005 Karel Zak <kzak at redhat.com> 2.12p-9.7
- fix #159339 - util-linux updates for new audit system
More information about the fedora-cvs-commits
mailing list