Skip to content

Commit 8f2c3c5

Browse files
authored
Merge pull request #10159 from ChrisDryden/df-add-rootfs-dummy
df: add rootfs to is_dummy_filesystem
2 parents 04c81ce + 7bf12ee commit 8f2c3c5

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)