aboutsummaryrefslogtreecommitdiff
path: root/util-linux/Config.src
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-11-14 17:30:50 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-11-14 17:30:50 +0100
commitf417ffd88f194bbfd18605882ee242190c1bab34 (patch)
tree42d49dd65f7722e2c5322cd829acdf829c147655 /util-linux/Config.src
parent1924e99ad3513990f317c4295c35d5861521555a (diff)
downloadbusybox-w32-f417ffd88f194bbfd18605882ee242190c1bab34.tar.gz
busybox-w32-f417ffd88f194bbfd18605882ee242190c1bab34.tar.bz2
busybox-w32-f417ffd88f194bbfd18605882ee242190c1bab34.zip
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 922cabdb8..ee0d8a632 100644
--- a/util-linux/Config.src
+++ b/util-linux/Config.src
@@ -489,34 +489,6 @@ config SCRIPTREPLAY
489 This program replays a typescript, using timing information 489 This program replays a typescript, using timing information
490 given by script -t. 490 given by script -t.
491 491
492config SWAPONOFF
493 bool "swaponoff"
494 default y
495 select PLATFORM_LINUX
496 help
497 This option enables both the 'swapon' and the 'swapoff' utilities.
498 Once you have created some swap space using 'mkswap', you also need
499 to enable your swap space with the 'swapon' utility. The 'swapoff'
500 utility is used, typically at system shutdown, to disable any swap
501 space. If you are not using any swap space, you can leave this
502 option disabled.
503
504config FEATURE_SWAPON_DISCARD
505 bool "Support discard option -d"
506 default y
507 depends on SWAPONOFF
508 help
509 Enable support for discarding swap area blocks at swapon and/or as
510 the kernel frees them. This option enables both the -d option on
511 'swapon' and the 'discard' option for swap entries in /etc/fstab.
512
513config FEATURE_SWAPON_PRI
514 bool "Support priority option -p"
515 default y
516 depends on SWAPONOFF
517 help
518 Enable support for setting swap device priority in swapon.
519
520config SWITCH_ROOT 492config SWITCH_ROOT
521 bool "switch_root" 493 bool "switch_root"
522 default y 494 default y