diff options
Diffstat (limited to 'coreutils/df.c')
-rw-r--r-- | coreutils/df.c | 28 |
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" |