VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Core/Unix
diff options
context:
space:
mode:
Diffstat (limited to 'src/Core/Unix')
-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 0ec636c7..9d2fd2a4 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 89f34e20..41ebe969 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 634a3a23..777ccb77 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 eee11d6f..37ebd1d6 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;