diff --git a/src/data_collection/disks/unix/file_systems.rs b/src/data_collection/disks/unix/file_systems.rs index 39ac0c51..c700fd6f 100644 --- a/src/data_collection/disks/unix/file_systems.rs +++ b/src/data_collection/disks/unix/file_systems.rs @@ -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