summaryrefslogtreecommitdiff
path: root/coreutils/df.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/df.c')
-rw-r--r--coreutils/df.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/coreutils/df.c b/coreutils/df.c
index ba3227f..8d457ec 100644
--- a/coreutils/df.c
+++ b/coreutils/df.c
@@ -103,6 +103,9 @@ extern int df_main(int argc, char **argv)
}
while ((mountEntry = getmntent(mountTable))) {
+ if (strcmp(mountEntry->mnt_fsname, "none") == 0) {
+ continue;
+ }
df(mountEntry->mnt_fsname, mountEntry->mnt_dir);
}
endmntent(mountTable);