mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-05 16:46:35 -05:00
Linux/MacOSX: fix issue creating volumes using command line with a filesystem other than FAT.
This commit is contained in:
1 parent
84ee7076d9
commit
d53b48bdf0
2 files changed
+25
No files matched your search
@@ -883,6 +883,10 @@ namespace VeraCrypt
|
||||
if (options->Filesystem == VolumeCreationOptions::FilesystemType::MacOsExt && options->Size >= 10 * BYTES_PER_MB)
|
||||
args.push_back ("-J");
|
||||
|
||||
// Perform a quick NTFS formatting
|
||||
if (options->Filesystem == VolumeCreationOptions::FilesystemType::NTFS)
|
||||
args.push_back ("-f");
|
||||
|
||||
args.push_back (string (virtualDevice));
|
||||
|
||||
Process::Execute (fsFormatter, args);
|
||||
|
||||
Reference in new issue
Block a user