diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2023-07-01 15:16:46 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2023-07-01 15:16:46 +0200 |
commit | 0bfed6553d08131fd8e0bd725642ff8509a2a1d4 (patch) | |
tree | a4325dd52e48b00eea5dfcd5dcb37c29f06c156d /src/Boot/EFI/LegacySpeaker32.efi | |
parent | 17dcd73936a99105c736477a9f49f2ac606440dc (diff) | |
download | VeraCrypt-0bfed6553d08131fd8e0bd725642ff8509a2a1d4.tar.gz VeraCrypt-0bfed6553d08131fd8e0bd725642ff8509a2a1d4.zip |
Windows: Fix formatting issue during volume creation by using /Y for format.com and specifying removal parameter in FormatEx
The usage of /Y parameter in format.com simplifies the logic and makes the code robust since we don't need to send \n to the format.com process.
Specifying RemovableMedia parameter to FormatEx fixes its failure in Windows 10 and later to perform quick format. This is also more adequate since we are mounting the volume as removable media for the formatting process.
We also add better error management in order to display adequate error message to the user in case of failure
Diffstat (limited to 'src/Boot/EFI/LegacySpeaker32.efi')
0 files changed, 0 insertions, 0 deletions