1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Replace TrueCrypt from Linux/MacOSX mount point names

This commit is contained in:
Mounir IDRASSI
2014-06-07 21:31:10 +02:00
parent 0c95ed3691
commit be4ca4bac6
4 changed files with 6 additions and 6 deletions

View File

@@ -205,7 +205,7 @@ namespace TrueCrypt
string CoreUnix::GetDefaultMountPointPrefix () const
{
const char *envPrefix = getenv ("TRUECRYPT_MOUNT_PREFIX");
const char *envPrefix = getenv ("VERACRYPT_MOUNT_PREFIX");
if (envPrefix && !string (envPrefix).empty())
return envPrefix;
@@ -215,7 +215,7 @@ namespace TrueCrypt
if (FilesystemPath ("/mnt").IsDirectory())
return "/mnt/veracrypt";
return GetTempDirectory() + "/truecrypt_mnt";
return GetTempDirectory() + "/veracrypt_mnt";
}
uint32 CoreUnix::GetDeviceSectorSize (const DevicePath &devicePath) const

View File

@@ -51,7 +51,7 @@ namespace TrueCrypt
virtual void DismountNativeVolume (shared_ptr <VolumeInfo> mountedVolume) const { throw NotApplicable (SRC_POS); }
virtual bool FilesystemSupportsUnixPermissions (const DevicePath &devicePath) const;
virtual string GetDefaultMountPointPrefix () const;
virtual string GetFuseMountDirPrefix () const { return ".truecrypt_aux_mnt"; }
virtual string GetFuseMountDirPrefix () const { return ".veracrypt_aux_mnt"; }
virtual MountedFilesystemList GetMountedFilesystems (const DevicePath &devicePath = DevicePath(), const DirectoryPath &mountPoint = DirectoryPath()) const = 0;
virtual uid_t GetRealUserId () const;
virtual gid_t GetRealGroupId () const;