mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-05-16 09:31:31 +00:00
Linux/MacOSX: fix issue creating volumes using command line with a filesystem other than FAT.
This commit is contained in:
@@ -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