summaryrefslogtreecommitdiff
path: root/coreutils/df.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2021-10-12 13:23:29 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2021-10-12 13:23:29 +0200
commit94c78aa0b91f2150bd038866addf3d0ee69474a8 (patch)
treec114f2e6a36cf0806a24aaa620157f5a480e5d4f /coreutils/df.c
parent7c3e96d4b3d419d76f97e17d42a4401ee685b7ec (diff)
downloadbusybox-94c78aa0b91f2150bd038866addf3d0ee69474a8.tar.gz
config system: move some options closer to relevalnt tool subdirectories
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/df.c')
-rw-r--r--coreutils/df.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/coreutils/df.c b/coreutils/df.c
index 9f8b3a71e..176aa079f 100644
--- a/coreutils/df.c
+++ b/coreutils/df.c
@@ -32,6 +32,26 @@
//config: -a Show all filesystems
//config: -i Inodes
//config: -B <SIZE> Blocksize
+//config:
+//config:config FEATURE_SKIP_ROOTFS
+//config: bool "Skip rootfs in mount table"
+//config: default y
+//config: depends on DF
+//config: help
+//config: Ignore rootfs entry in mount table.
+//config:
+//config: In Linux, kernel has a special filesystem, rootfs, which is initially
+//config: mounted on /. It contains initramfs data, if kernel is configured
+//config: to have one. Usually, another file system is mounted over / early
+//config: in boot process, and therefore most tools which manipulate
+//config: mount table, such as df, will skip rootfs entry.
+//config:
+//config: However, some systems do not mount anything on /.
+//config: If you need to configure busybox for one of these systems,
+//config: you may find it useful to turn this option off to make df show
+//config: initramfs statistics.
+//config:
+//config: Otherwise, choose Y.
//applet:IF_DF(APPLET_NOEXEC(df, df, BB_DIR_BIN, BB_SUID_DROP, df))