[PATCH] mkswap: remove configuration for v0 support

Colin Watson cjwatson at ubuntu.com
Fri Jun 19 11:00:39 UTC 2009


mkswap hasn't had v0 support since commit
d893b120bae5a9bdef4cfda2df5e62867d6b1cd0; it doesn't seem to make sense
to offer it for configuration.

Signed-off-by: Colin Watson <cjwatson at ubuntu.com>
---
 TODO_config_nommu    |    1 -
 scripts/defconfig    |    1 -
 util-linux/Config.in |   10 ----------
 3 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/TODO_config_nommu b/TODO_config_nommu
index 9c3e864..6714307 100644
--- a/TODO_config_nommu
+++ b/TODO_config_nommu
@@ -494,7 +494,6 @@ CONFIG_FEATURE_MDEV_RENAME_REGEXP=y
 CONFIG_FEATURE_MDEV_EXEC=y
 CONFIG_FEATURE_MDEV_LOAD_FIRMWARE=y
 CONFIG_MKSWAP=y
-CONFIG_FEATURE_MKSWAP_V0=y
 CONFIG_MORE=y
 CONFIG_FEATURE_USE_TERMIOS=y
 CONFIG_VOLUMEID=y
diff --git a/scripts/defconfig b/scripts/defconfig
index 078b864..f8b7eac 100644
--- a/scripts/defconfig
+++ b/scripts/defconfig
@@ -502,7 +502,6 @@ CONFIG_FEATURE_MDEV_RENAME_REGEXP=y
 CONFIG_FEATURE_MDEV_EXEC=y
 CONFIG_FEATURE_MDEV_LOAD_FIRMWARE=y
 CONFIG_MKSWAP=y
-CONFIG_FEATURE_MKSWAP_V0=y
 CONFIG_MORE=y
 CONFIG_FEATURE_USE_TERMIOS=y
 CONFIG_VOLUMEID=y
diff --git a/util-linux/Config.in b/util-linux/Config.in
index bfd51bc..f02ddec 100644
--- a/util-linux/Config.in
+++ b/util-linux/Config.in
@@ -406,16 +406,6 @@ config MKSWAP
 	  Once you have created swap space using 'mkswap' you need to enable
 	  the swap space using the 'swapon' utility.
 
-config FEATURE_MKSWAP_V0
-	bool "Version 0 support"
-	default n
-	depends on MKSWAP
-#	depends on MKSWAP && 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 MORE
 	bool "more"
 	default n
-- 
1.6.3.1


More information about the busybox mailing list