- shrink mkswap and make v0 support optional. Thanks also to Tito for his ideas.

http://busybox.net/lists/busybox/2006-March/019326.html

   2137	      8	     28	   2173	    87d	util-linux/mkswap.o.orig
   1890	      8	     28	   1926	    786	util-linux/mkswap.o.v0+v1
   1560	      4	     28	   1592	    638	util-linux/mkswap.o.v1
This commit is contained in:
Bernhard Reutner-Fischer
2006-03-29 17:32:24 +00:00
parent b256bd334f
commit 56dd0bff06
2 changed files with 85 additions and 81 deletions

View File

@@ -288,6 +288,16 @@ config CONFIG_MKSWAP
Once you have created swap space using 'mkswap' you need to enable
the swap space using the 'swapon' utility.
config CONFIG_FEATURE_MKSWAP_V0
bool " version 0 support"
default n
depends on CONFIG_MKSWAP
# depends on CONFIG_MKSWAP && CONFIG_DEPRECATED
help
Enable support for the old v0 style.
If your kernel is older than 2.1.117, then v0 support is the
only option.
config CONFIG_MORE
bool "more"
default n