diff options
author | database64128 <free122448@hotmail.com> | 2023-06-09 01:07:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-08 13:07:18 -0400 |
commit | 48422c411193ff81b01d97e6ec3bb70f18b3c5ac (patch) | |
tree | c6b97d0fa70187e7616208ba5fadb681ae9dd713 /src/app/data_harvester | |
parent | 1cc0e910b4e684e30326772a80c0c120aeba1c34 (diff) |
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.
Diffstat (limited to 'src/app/data_harvester')
-rw-r--r-- | src/app/data_harvester/disks/unix/file_systems.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/data_harvester/disks/unix/file_systems.rs b/src/app/data_harvester/disks/unix/file_systems.rs index 3fc51ed8..703e0379 100644 --- a/src/app/data_harvester/disks/unix/file_systems.rs +++ b/src/app/data_harvester/disks/unix/file_systems.rs @@ -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), |