mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
FreeBSD: Support automatic detection and mounting of ext2/3/4, exFAT, NTFS filesystems (#1350)
This commit is contained in:
@@ -347,6 +347,16 @@ namespace VeraCrypt
|
||||
#elif defined (TC_FREEBSD) || defined (TC_SOLARIS)
|
||||
else if (str.IsSameAs (L"UFS", false))
|
||||
ArgFilesystem = VolumeCreationOptions::FilesystemType::UFS;
|
||||
else if (str.IsSameAs (L"Ext2", false))
|
||||
ArgFilesystem = VolumeCreationOptions::FilesystemType::Ext2;
|
||||
else if (str.IsSameAs (L"Ext3", false))
|
||||
ArgFilesystem = VolumeCreationOptions::FilesystemType::Ext3;
|
||||
else if (str.IsSameAs (L"Ext4", false))
|
||||
ArgFilesystem = VolumeCreationOptions::FilesystemType::Ext4;
|
||||
else if (str.IsSameAs (L"NTFS", false))
|
||||
ArgFilesystem = VolumeCreationOptions::FilesystemType::NTFS;
|
||||
else if (str.IsSameAs (L"exFAT", false))
|
||||
ArgFilesystem = VolumeCreationOptions::FilesystemType::exFAT;
|
||||
#endif
|
||||
else
|
||||
throw_err (LangString["UNKNOWN_OPTION"] + L": " + str);
|
||||
|
||||
Reference in New Issue
Block a user