mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-06-17 10:06:06 -05:00
macOS: stabilize FUSE-T SMB auxiliary mounts
Add statfs metadata for the auxiliary FUSE mount, keep /control read-only by sending hdiutil device data through /aux-device-info and tolerate delayed SMB rediscovery during mount completion. Log final control-file retry failures for diagnostics.
This commit is contained in:
@@ -117,7 +117,7 @@ namespace VeraCrypt
|
||||
Process::Execute ("/usr/bin/open", args);
|
||||
}
|
||||
|
||||
void CoreMacOSX::MountAuxVolumeImage (const DirectoryPath &auxMountPoint, const MountOptions &options) const
|
||||
DevicePath CoreMacOSX::MountAuxVolumeImage (const DirectoryPath &auxMountPoint, const MountOptions &options) const
|
||||
{
|
||||
#ifndef VC_MACOSX_FUSET
|
||||
// Check FUSE version
|
||||
@@ -238,6 +238,8 @@ namespace VeraCrypt
|
||||
catch (ExecutedProcessFailed&) { }
|
||||
throw;
|
||||
}
|
||||
|
||||
return virtualDev;
|
||||
}
|
||||
|
||||
unique_ptr <CoreBase> Core (new CoreServiceProxy <CoreMacOSX>);
|
||||
|
||||
Reference in New Issue
Block a user