diff options
author | Lauri Kasanen <curaga@operamail.com> | 2011-01-31 06:27:35 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-01-31 06:27:35 +0100 |
commit | 55ae0e9238e1979f0200700ec5dbd0df8d32f7a2 (patch) | |
tree | a84f49f35110aff62102c808cb983f6fb7bde10f /coreutils | |
parent | 625cfd87d9282c9698a02cd6acd870ee0baee407 (diff) | |
download | busybox-55ae0e9238e1979f0200700ec5dbd0df8d32f7a2.tar.gz |
df,find_mount_point: optionally don't ignore rootfs
Signed-off-by: Lauri Kasanen <curaga@operamail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/df.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/df.c b/coreutils/df.c index af9b77b23..70fd1f4fd 100644 --- a/coreutils/df.c +++ b/coreutils/df.c @@ -160,7 +160,7 @@ int df_main(int argc UNUSED_PARAM, char **argv) } /* GNU coreutils 6.10 skips certain mounts, try to be compatible. */ - if (strcmp(device, "rootfs") == 0) + if (ENABLE_FEATURE_SKIP_ROOTFS && strcmp(device, "rootfs") == 0) continue; #ifdef WHY_WE_DO_IT_FOR_DEV_ROOT_ONLY |