aboutsummaryrefslogtreecommitdiff
path: root/util-linux/Config.src
diff options
context:
space:
mode:
authorMatt Whitlock <busybox@mattwhitlock.name>2014-03-22 19:21:01 -0400
committerDenys Vlasenko <vda.linux@googlemail.com>2014-03-23 18:36:23 +0100
commit0a53b203f9e7157136c8ab4e8753008a63a56660 (patch)
treec99d5a423ba2e598b9ac19aca39f90dc59cad088 /util-linux/Config.src
parentb9bbd4ddf622bc365726af4f2424210762e74b32 (diff)
downloadbusybox-w32-0a53b203f9e7157136c8ab4e8753008a63a56660.tar.gz
busybox-w32-0a53b203f9e7157136c8ab4e8753008a63a56660.tar.bz2
busybox-w32-0a53b203f9e7157136c8ab4e8753008a63a56660.zip
add discard option -d to swapon
Signed-off-by: Matt Whitlock <busybox@mattwhitlock.name> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/Config.src')
-rw-r--r--util-linux/Config.src9
1 files changed, 9 insertions, 0 deletions
diff --git a/util-linux/Config.src b/util-linux/Config.src
index 5a8b0063b..c1cd6daa4 100644
--- a/util-linux/Config.src
+++ b/util-linux/Config.src
@@ -599,6 +599,15 @@ config SWAPONOFF
599 space. If you are not using any swap space, you can leave this 599 space. If you are not using any swap space, you can leave this
600 option disabled. 600 option disabled.
601 601
602config FEATURE_SWAPON_DISCARD
603 bool "Support discard option -d"
604 default y
605 depends on SWAPONOFF
606 help
607 Enable support for discarding swap area blocks at swapon and/or as
608 the kernel frees them. This option enables both the -d option on
609 'swapon' and the 'discard' option for swap entries in /etc/fstab.
610
602config FEATURE_SWAPON_PRI 611config FEATURE_SWAPON_PRI
603 bool "Support priority option -p" 612 bool "Support priority option -p"
604 default y 613 default y