mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-07-06 04:58:01 -05:00
Linux: retry auto FAT mounts with blkid
Keep the historical auto-mount behavior as the first attempt when the user did not request a filesystem type. If that mount fails on Linux, detect the filesystem with blkid and retry only for FAT-family types that minimal mount implementations may not auto-probe. Leave explicit filesystem types and NTFS kernel-driver resolution unchanged.
This commit is contained in:
@@ -80,6 +80,10 @@ namespace VeraCrypt
|
||||
bool IsFilesystemTypeRegistered (const string &filesystemType) const;
|
||||
bool IsKernelFilesystemTypeAvailable (const string &filesystemType) const;
|
||||
bool IsNtfsReadWriteKernelFilesystemTypeAvailable () const;
|
||||
string DetectLinuxMountFallbackFilesystemType (const DevicePath &devicePath) const;
|
||||
void MountFilesystemWithFallback (const DevicePath &devicePath, const DirectoryPath &mountPoint,
|
||||
const string &filesystemType, bool allowFilesystemTypeFallback, bool readOnly,
|
||||
const string &systemMountOptions, bool internalMountOnly) const;
|
||||
void ResolveNtfsKernelMountOptions (const DevicePath &devicePath, bool mountNtfsWithKernelDriver,
|
||||
wstring &filesystemType, bool &internalMountOnly) const;
|
||||
string SelectNtfsKernelFilesystemType () const;
|
||||
|
||||
Reference in New Issue
Block a user