mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-21 19:53:05 +00:00
bug: fix support for nilfs2 file system (#1596)
Fix the problem that the nilfs2 file system partition is not displayed in the disk list.
This commit is contained in:
parent
4e47f9b51a
commit
fe25055cc1
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ impl FromStr for FileSystem {
|
|||
FileSystem::Bcachefs
|
||||
} else if s.eq_ignore_ascii_case("minix") {
|
||||
FileSystem::Minix
|
||||
} else if s.eq_ignore_ascii_case("nilfs") {
|
||||
} else if multi_eq_ignore_ascii_case!(s, "nilfs" | "nilfs2") {
|
||||
FileSystem::Nilfs
|
||||
} else if s.eq_ignore_ascii_case("xfs") {
|
||||
FileSystem::Xfs
|
||||
|
|
Loading…
Reference in a new issue