1
0
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:
Mounir IDRASSI
2026-04-22 04:13:43 +02:00
parent 7cd062c42e
commit 4271b8e6f5
6 changed files with 159 additions and 25 deletions
+3 -1
View File
@@ -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>);