Skip to content

Commit 7bf12ee

Browse files
committed
df: add rootfs to is_dummy_filesystem
1 parent a17e814 commit 7bf12ee

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/uucore/src/lib/features/fsext.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,8 @@ fn is_dummy_filesystem(fs_type: &str, mount_option: &str) -> bool {
393393
| "kernfs"
394394
// for Irix 6.5
395395
| "ignore"
396+
// Linux initial root filesystem
397+
| "rootfs"
396398
// Binary format support pseudo-filesystem
397399
| "binfmt_misc" => true,
398400
_ => fs_type == "none"

0 commit comments

Comments
 (0)