VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/Forms/VolumeCreationWizard.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-10-19 20:04:48 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-10-19 21:18:40 (GMT)
commit12461a55a8246930c1bbeb19a60d0d4b52ff5abd (patch)
tree3b77f8a64ad37fc7ebcecb6ef72fb85dcc2b9774 /src/Main/Forms/VolumeCreationWizard.cpp
parent008d0503befa55311eb12dbca42a3df25c6f29a0 (diff)
downloadVeraCrypt-12461a55a8246930c1bbeb19a60d0d4b52ff5abd.zip
VeraCrypt-12461a55a8246930c1bbeb19a60d0d4b52ff5abd.tar.gz
MacOSX: Support APFS for creating volumes.
Diffstat (limited to 'src/Main/Forms/VolumeCreationWizard.cpp')
-rw-r--r--src/Main/Forms/VolumeCreationWizard.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Main/Forms/VolumeCreationWizard.cpp b/src/Main/Forms/VolumeCreationWizard.cpp
index b28b1c3..c0201b0 100644
--- a/src/Main/Forms/VolumeCreationWizard.cpp
+++ b/src/Main/Forms/VolumeCreationWizard.cpp
@@ -475,6 +475,7 @@ namespace VeraCrypt
#elif defined (TC_MACOSX)
case VolumeCreationOptions::FilesystemType::MacOsExt: fsFormatter = "newfs_hfs"; break;
case VolumeCreationOptions::FilesystemType::exFAT: fsFormatter = "newfs_exfat"; break;
+ case VolumeCreationOptions::FilesystemType::APFS: fsFormatter = "newfs_apfs"; break;
#elif defined (TC_FREEBSD) || defined (TC_SOLARIS)
case VolumeCreationOptions::FilesystemType::UFS: fsFormatter = "newfs" ; break;
#endif