Skip to content

Commit

Permalink
bug: fix support for nilfs2 file system (#1596)
Browse files Browse the repository at this point in the history
Fix the problem that the nilfs2 file system partition is not displayed in the disk list.
  • Loading branch information
llc0930 authored Sep 13, 2024
1 parent 4e47f9b commit fe25055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data_collection/disks/unix/file_systems.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fe25055

Please sign in to comment.