diff options
author | Matt Whitlock | 2014-03-22 19:21:01 -0400 |
---|---|---|
committer | Denys Vlasenko | 2014-03-23 18:36:23 +0100 |
commit | 0a53b203f9e7157136c8ab4e8753008a63a56660 (patch) | |
tree | c99d5a423ba2e598b9ac19aca39f90dc59cad088 /util-linux/Config.src | |
parent | b9bbd4ddf622bc365726af4f2424210762e74b32 (diff) | |
download | busybox-0a53b203f9e7157136c8ab4e8753008a63a56660.zip busybox-0a53b203f9e7157136c8ab4e8753008a63a56660.tar.gz |
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.src | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/util-linux/Config.src b/util-linux/Config.src index 5a8b006..c1cd6da 100644 --- a/util-linux/Config.src +++ b/util-linux/Config.src @@ -599,6 +599,15 @@ config SWAPONOFF 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 |