macOS: recover mounted volume mount points

Prefer hdiutil plist entities that carry a mount-point when recording the virtual device. This fixes APFS images where the first dev-entry is not the mounted volume.

Add a macOS mounted-volume refresh hook that recovers VirtualDevice and MountPoint from hdiutil info when FUSE-T SMB auxiliary metadata is missing or stale.
This commit is contained in:
Mounir IDRASSI committed 2026-05-15 15:35:28 +02:00
1 parent d4a237fbaf
commit cd101433c5
4 files changed
+113 -23

No files matched your search

+1
View File
@@ -30,6 +30,7 @@ namespace VeraCrypt
protected:
virtual DevicePath MountAuxVolumeImage (const DirectoryPath &auxMountPoint, const MountOptions &options) const;
virtual void UpdateMountedVolumeInfo (shared_ptr <VolumeInfo> mountedVolume) const;
private:
CoreMacOSX (const CoreMacOSX &);