VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Core
diff options
context:
space:
mode:
Diffstat (limited to 'src/Core')
-rw-r--r--src/Core/Unix/CoreService.cpp2
-rw-r--r--src/Core/Unix/CoreUnix.cpp4
-rw-r--r--src/Core/Unix/Linux/CoreLinux.cpp4
-rw-r--r--src/Core/Unix/MacOSX/CoreMacOSX.h2
4 files changed, 6 insertions, 6 deletions
diff --git a/src/Core/Unix/CoreService.cpp b/src/Core/Unix/CoreService.cpp
index 0ec636c..9d2fd2a 100644
--- a/src/Core/Unix/CoreService.cpp
+++ b/src/Core/Unix/CoreService.cpp
@@ -357,7 +357,7 @@ namespace TrueCrypt
string appPath = request.ApplicationExecutablePath;
if (appPath.empty())
- appPath = "truecrypt";
+ appPath = "veracrypt";
const char *args[] = { "sudo", "-S", "-p", "", appPath.c_str(), TC_CORE_SERVICE_CMDLINE_OPTION, nullptr };
execvp (args[0], ((char* const*) args));
diff --git a/src/Core/Unix/CoreUnix.cpp b/src/Core/Unix/CoreUnix.cpp
index 89f34e2..41ebe96 100644
--- a/src/Core/Unix/CoreUnix.cpp
+++ b/src/Core/Unix/CoreUnix.cpp
@@ -210,10 +210,10 @@ namespace TrueCrypt
return envPrefix;
if (FilesystemPath ("/media").IsDirectory())
- return "/media/truecrypt";
+ return "/media/veracrypt";
if (FilesystemPath ("/mnt").IsDirectory())
- return "/mnt/truecrypt";
+ return "/mnt/veracrypt";
return GetTempDirectory() + "/truecrypt_mnt";
}
diff --git a/src/Core/Unix/Linux/CoreLinux.cpp b/src/Core/Unix/Linux/CoreLinux.cpp
index 634a3a2..777ccb7 100644
--- a/src/Core/Unix/Linux/CoreLinux.cpp
+++ b/src/Core/Unix/Linux/CoreLinux.cpp
@@ -114,7 +114,7 @@ namespace TrueCrypt
{
string devPath = mountedVolume->VirtualDevice;
- if (devPath.find ("/dev/mapper/truecrypt") != 0)
+ if (devPath.find ("/dev/mapper/veracrypt") != 0)
throw NotApplicable (SRC_POS);
size_t devCount = 0;
@@ -380,7 +380,7 @@ namespace TrueCrypt
}
stringstream nativeDevName;
- nativeDevName << "truecrypt" << options.SlotNumber;
+ nativeDevName << "veracrypt" << options.SlotNumber;
if (nativeDevCount != cipherCount - 1)
nativeDevName << "_" << cipherCount - nativeDevCount - 2;
diff --git a/src/Core/Unix/MacOSX/CoreMacOSX.h b/src/Core/Unix/MacOSX/CoreMacOSX.h
index eee11d6..37ebd1d 100644
--- a/src/Core/Unix/MacOSX/CoreMacOSX.h
+++ b/src/Core/Unix/MacOSX/CoreMacOSX.h
@@ -22,7 +22,7 @@ namespace TrueCrypt
virtual void CheckFilesystem (shared_ptr <VolumeInfo> mountedVolume, bool repair = false) const;
virtual shared_ptr <VolumeInfo> DismountVolume (shared_ptr <VolumeInfo> mountedVolume, bool ignoreOpenFiles = false, bool syncVolumeInfo = false);
- virtual string GetDefaultMountPointPrefix () const { return "/Volumes/truecrypt"; }
+ virtual string GetDefaultMountPointPrefix () const { return "/Volumes/veracrypt"; }
protected:
virtual void MountAuxVolumeImage (const DirectoryPath &auxMountPoint, const MountOptions &options) const;