summaryrefslogtreecommitdiff
path: root/util-linux/Config.src
diff options
context:
space:
mode:
authorDenys Vlasenko2016-11-14 17:30:50 +0100
committerDenys Vlasenko2016-11-14 17:30:50 +0100
commitf417ffd88f194bbfd18605882ee242190c1bab34 (patch)
tree42d49dd65f7722e2c5322cd829acdf829c147655 /util-linux/Config.src
parent1924e99ad3513990f317c4295c35d5861521555a (diff)
downloadbusybox-f417ffd88f194bbfd18605882ee242190c1bab34.zip
busybox-f417ffd88f194bbfd18605882ee242190c1bab34.tar.gz
Make swapon and swapoff individually selectable.
For example, without swapoff, code shrinks by 277 bytes. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/Config.src')
-rw-r--r--util-linux/Config.src28
1 files changed, 0 insertions, 28 deletions
diff --git a/util-linux/Config.src b/util-linux/Config.src
index 922cabd..ee0d8a6 100644
--- a/util-linux/Config.src
+++ b/util-linux/Config.src
@@ -489,34 +489,6 @@ config SCRIPTREPLAY
This program replays a typescript, using timing information
given by script -t.
-config SWAPONOFF
- bool "swaponoff"
- default y
- select PLATFORM_LINUX
- help
- This option enables both the 'swapon' and the 'swapoff' utilities.
- Once you have created some swap space using 'mkswap', you also need
- to enable your swap space with the 'swapon' utility. The 'swapoff'
- utility is used, typically at system shutdown, to disable any swap
- space. If you are not using any swap space, you can leave this
- option disabled.
-
-config FEATURE_SWAPON_DISCARD
- bool "Support discard option -d"
- default y
- depends on SWAPONOFF
- help
- Enable support for discarding swap area blocks at swapon and/or as
- the kernel frees them. This option enables both the -d option on
- 'swapon' and the 'discard' option for swap entries in /etc/fstab.
-
-config FEATURE_SWAPON_PRI
- bool "Support priority option -p"
- default y
- depends on SWAPONOFF
- help
- Enable support for setting swap device priority in swapon.
-
config SWITCH_ROOT
bool "switch_root"
default y