summaryrefslogtreecommitdiffstats
path: root/rules/util-linux-ng.in
diff options
context:
space:
mode:
authorHubert Feurstein <h.feurstein@gmail.com>2015-03-06 11:25:52 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-03-21 14:34:16 +0100
commitbc0c62ada006f25cc14e685aa7aa3d799233a51d (patch)
treefb7cfacce51719bdd668e267dbc45f0fd50fc48b /rules/util-linux-ng.in
parentf37ab9b46e17e80ca74c2634f9f0d66901a95bef (diff)
downloadptxdist-bc0c62ada006f25cc14e685aa7aa3d799233a51d.tar.gz
ptxdist-bc0c62ada006f25cc14e685aa7aa3d799233a51d.tar.xz
util-linux-ng: add fstrim option
Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/util-linux-ng.in')
-rw-r--r--rules/util-linux-ng.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/rules/util-linux-ng.in b/rules/util-linux-ng.in
index a5f51a655..50dfbf639 100644
--- a/rules/util-linux-ng.in
+++ b/rules/util-linux-ng.in
@@ -200,6 +200,18 @@ config UTIL_LINUX_NG_FSCK
comment "BusyBox' fsck is selected!"
depends on BUSYBOX_FSCK
+config UTIL_LINUX_NG_FSTRIM
+ bool
+ prompt "fstrim"
+ depends on !BUSYBOX_FSTRIM || ALLYES
+ help
+ fstrim is used on a mounted filesystem to discard (or "trim")
+ blocks which are not in use by the filesystem. This is useful
+ for solid-state drives (SSDs) and thinly-provisioned storage.
+
+comment "BusyBox' fstrim is selected!"
+ depends on BUSYBOX_FSTRIM
+
config UTIL_LINUX_NG_IPCS
bool
prompt "ipcs"