mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-26 06:00:21 +00:00
bug: ntfs3 mounts don't show up (#1191)
Partitions mounted using the ntfs3 driver in linux (mainlined since 5.15) won't show up because the name didn't match.
This commit is contained in:
parent
1cc0e910b4
commit
48422c4111
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ impl FromStr for FileSystem {
|
|||
_ if s.eq_ignore_ascii_case("ext3") => Ok(FileSystem::Ext3),
|
||||
_ if s.eq_ignore_ascii_case("ext4") => Ok(FileSystem::Ext4),
|
||||
_ if s.eq_ignore_ascii_case("vfat") => Ok(FileSystem::VFat),
|
||||
_ if s.eq_ignore_ascii_case("ntfs") => Ok(FileSystem::Ntfs),
|
||||
_ if s == "ntfs3" || s.eq_ignore_ascii_case("ntfs") => Ok(FileSystem::Ntfs),
|
||||
_ if s.eq_ignore_ascii_case("zfs") => Ok(FileSystem::Zfs),
|
||||
_ if s.eq_ignore_ascii_case("hfs") => Ok(FileSystem::Hfs),
|
||||
_ if s.eq_ignore_ascii_case("reiserfs") => Ok(FileSystem::Reiser3),
|
||||
|
|
Loading…
Reference in a new issue