VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/Forms
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-10-24 09:30:24 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:24:11 +0100
commit9c1ddff7e303ecd93716d32b02f354f0eca9e240 (patch)
treea97dcb991814b1a248e3935ca9a3fea3f82c4eac /src/Main/Forms
parentea03100d9e6988f6c8c2792f2e829b450a3bdf2c (diff)
downloadVeraCrypt-9c1ddff7e303ecd93716d32b02f354f0eca9e240.tar.gz
VeraCrypt-9c1ddff7e303ecd93716d32b02f354f0eca9e240.zip
Linux: Support NTFS formatting of volume. We use mkfs.ntfs so it needs to be installed on the system.
Diffstat (limited to 'src/Main/Forms')
-rw-r--r--src/Main/Forms/VolumeCreationWizard.cpp1
-rw-r--r--src/Main/Forms/VolumeFormatOptionsWizardPage.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/Main/Forms/VolumeCreationWizard.cpp b/src/Main/Forms/VolumeCreationWizard.cpp
index bd3fa7ea..597d014a 100644
--- a/src/Main/Forms/VolumeCreationWizard.cpp
+++ b/src/Main/Forms/VolumeCreationWizard.cpp
@@ -422,6 +422,7 @@ namespace VeraCrypt
case VolumeCreationOptions::FilesystemType::Ext4: fsFormatter = "mkfs.ext4"; break;
case VolumeCreationOptions::FilesystemType::MacOsExt: fsFormatter = "newfs_hfs"; break;
case VolumeCreationOptions::FilesystemType::UFS: fsFormatter = "newfs" ; break;
+ case VolumeCreationOptions::FilesystemType::NTFS: fsFormatter = "mkfs.ntfs" ; break;
default: break;
}
diff --git a/src/Main/Forms/VolumeFormatOptionsWizardPage.cpp b/src/Main/Forms/VolumeFormatOptionsWizardPage.cpp
index 89069078..e5fc308a 100644
--- a/src/Main/Forms/VolumeFormatOptionsWizardPage.cpp
+++ b/src/Main/Forms/VolumeFormatOptionsWizardPage.cpp
@@ -30,6 +30,7 @@ namespace VeraCrypt
FilesystemTypeChoice->Append (L"Linux Ext2", (void *) VolumeCreationOptions::FilesystemType::Ext2);
FilesystemTypeChoice->Append (L"Linux Ext3", (void *) VolumeCreationOptions::FilesystemType::Ext3);
FilesystemTypeChoice->Append (L"Linux Ext4", (void *) VolumeCreationOptions::FilesystemType::Ext4);
+ FilesystemTypeChoice->Append (L"NTFS", (void *) VolumeCreationOptions::FilesystemType::NTFS);
#elif defined (TC_MACOSX)
FilesystemTypeChoice->Append (L"Mac OS Extended", (void *) VolumeCreationOptions::FilesystemType::MacOsExt);
#elif defined (TC_FREEBSD) || defined (TC_SOLARIS)