Add variant for windows filesystems Ntfs and Vfat (which is a common label for all FAT* filesystems)
Add variant for unrecognized fs which contains its label (name).
Keep Unknown variant without changes for backward-compatibility. Unknown means the filesystem without known label (name) or absent filesystem.
Note:
I haven't added the ReFS support, because I can't test how it's described on the Linux in udev or fstab. I'm not sure the ReFS is supported by Linux at all. However, if so, now we can recognize it manually using content of Unrecognised(String) variant.
All FAT* filesystems describes in udev and fstab as vfat. The recognizing of specific type(version) of FAT is possible (at least with udev) but it requires a deeper investigation while this PR is more like a kind of hotfix.
I've tested it locally at my Ubuntu 20.20 and I hope it works in the same way on the other distros.
I'm going to use strum macro to avoid a boilerplate here, but not right now (see #26).
If you have any objections about usage of Unrecognised(String) / Unknown please let me know.
Ntfs
andVfat
(which is a common label for all FAT* filesystems)Keep Unknown variant without changes for backward-compatibility. Unknown means the filesystem without known label (name) or absent filesystem.
Note:
Unrecognised(String)
variant.vfat
. The recognizing of specific type(version) of FAT is possible (at least with udev) but it requires a deeper investigation while this PR is more like a kind of hotfix.strum
macro to avoid a boilerplate here, but not right now (see #26).If you have any objections about usage of
Unrecognised(String)
/Unknown
please let me know.Close #25