VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Core
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-06-07 19:31:10 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 22:19:24 (GMT)
commitbe4ca4bac6db00538d1990ca865b55ecf2357926 (patch)
treeb777d73393966b1a727efaa9cd07a1ba15961bed /src/Core
parent0c95ed36910c4f5cb08da45fac1930afcb25c565 (diff)
downloadVeraCrypt-be4ca4bac6db00538d1990ca865b55ecf2357926.zip
VeraCrypt-be4ca4bac6db00538d1990ca865b55ecf2357926.tar.gz
Replace TrueCrypt from Linux/MacOSX mount point names
Diffstat (limited to 'src/Core')
-rw-r--r--src/Core/Unix/CoreUnix.cpp4
-rw-r--r--src/Core/Unix/CoreUnix.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Core/Unix/CoreUnix.cpp b/src/Core/Unix/CoreUnix.cpp
index 41ebe96..975c840 100644
--- a/src/Core/Unix/CoreUnix.cpp
+++ b/src/Core/Unix/CoreUnix.cpp
@@ -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
diff --git a/src/Core/Unix/CoreUnix.h b/src/Core/Unix/CoreUnix.h
index 1d7152f..b8e4cc5 100644
--- a/src/Core/Unix/CoreUnix.h
+++ b/src/Core/Unix/CoreUnix.h
@@ -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;