VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/TextUserInterface.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-10-24 07:30:24 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 22:24:11 (GMT)
commit9c1ddff7e303ecd93716d32b02f354f0eca9e240 (patch)
treea97dcb991814b1a248e3935ca9a3fea3f82c4eac /src/Main/TextUserInterface.cpp
parentea03100d9e6988f6c8c2792f2e829b450a3bdf2c (diff)
downloadVeraCrypt-9c1ddff7e303ecd93716d32b02f354f0eca9e240.zip
VeraCrypt-9c1ddff7e303ecd93716d32b02f354f0eca9e240.tar.gz
Linux: Support NTFS formatting of volume. We use mkfs.ntfs so it needs to be installed on the system.
Diffstat (limited to 'src/Main/TextUserInterface.cpp')
-rw-r--r--src/Main/TextUserInterface.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Main/TextUserInterface.cpp b/src/Main/TextUserInterface.cpp
index d83515f..b7dffe5 100644
--- a/src/Main/TextUserInterface.cpp
+++ b/src/Main/TextUserInterface.cpp
@@ -698,6 +698,7 @@ namespace VeraCrypt
ShowInfo (L" 3) Linux Ext2"); filesystems.push_back (VolumeCreationOptions::FilesystemType::Ext2);
ShowInfo (L" 4) Linux Ext3"); filesystems.push_back (VolumeCreationOptions::FilesystemType::Ext3);
ShowInfo (L" 5) Linux Ext4"); filesystems.push_back (VolumeCreationOptions::FilesystemType::Ext4);
+ ShowInfo (L" 6) NTFS"); filesystems.push_back (VolumeCreationOptions::FilesystemType::NTFS);
#elif defined (TC_MACOSX)
ShowInfo (L" 3) Mac OS Extended"); filesystems.push_back (VolumeCreationOptions::FilesystemType::MacOsExt);
#elif defined (TC_FREEBSD) || defined (TC_SOLARIS)
@@ -786,6 +787,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: throw ParameterIncorrect (SRC_POS);
}