aboutsummaryrefslogtreecommitdiff
path: root/coreutils/df.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2016-11-29 11:26:45 +0000
committerRon Yorston <rmy@pobox.com>2016-11-29 11:26:45 +0000
commitbb8d79eadbba1942dbdb9f9cee5c47833afe269f (patch)
treeb8c517e9ca895d60d7227aef7177b6291df5e2cd /coreutils/df.c
parent9fa1e4990e655a85025c9d270a1606983e375e47 (diff)
parent7d877fc9312a742b06125927bb1d34bd35398c6c (diff)
downloadbusybox-w32-bb8d79eadbba1942dbdb9f9cee5c47833afe269f.tar.gz
busybox-w32-bb8d79eadbba1942dbdb9f9cee5c47833afe269f.tar.bz2
busybox-w32-bb8d79eadbba1942dbdb9f9cee5c47833afe269f.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'coreutils/df.c')
-rw-r--r--coreutils/df.c28
1 files changed, 24 insertions, 4 deletions
diff --git a/coreutils/df.c b/coreutils/df.c
index 06b292018..fdcdae675 100644
--- a/coreutils/df.c
+++ b/coreutils/df.c
@@ -7,10 +7,6 @@
7 * 7 *
8 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 8 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
9 */ 9 */
10
11/* BB_AUDIT SUSv3 _NOT_ compliant -- option -t missing. */
12/* http://www.opengroup.org/onlinepubs/007904975/utilities/df.html */
13
14/* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org) 10/* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org)
15 * 11 *
16 * Size reduction. Removed floating point dependency. Added error checking 12 * Size reduction. Removed floating point dependency. Added error checking
@@ -21,6 +17,30 @@
21 * 17 *
22 * Implement -P and -B; better coreutils compat; cleanup 18 * Implement -P and -B; better coreutils compat; cleanup
23 */ 19 */
20//config:config DF
21//config: bool "df"
22//config: default y
23//config: help
24//config: df reports the amount of disk space used and available
25//config: on filesystems.
26//config:
27//config:config FEATURE_DF_FANCY
28//config: bool "Enable -a, -i, -B"
29//config: default y
30//config: depends on DF
31//config: help
32//config: This option enables -a, -i and -B.
33//config:
34//config: -a Show all filesystems
35//config: -i Inodes
36//config: -B <SIZE> Blocksize
37
38//applet:IF_DF(APPLET(df, BB_DIR_BIN, BB_SUID_DROP))
39
40//kbuild:lib-$(CONFIG_DF) += df.o
41
42/* BB_AUDIT SUSv3 _NOT_ compliant -- option -t missing. */
43/* http://www.opengroup.org/onlinepubs/007904975/utilities/df.html */
24 44
25//usage:#define df_trivial_usage 45//usage:#define df_trivial_usage
26//usage: "[-Pk" 46//usage: "[-Pk"