[extfs] add standalone ext2/ext3 formatting

* Only enabled when Advanced format options are shown
* Also enable reading of extfs volume label
* Also improve GRUB lookup fallback
* Also fix possible truncation when sanitizing labels
* Also write a zeroed MBR when non-bootable is selected
This commit is contained in:
Pete Batard 2019-05-03 23:51:05 +01:00
parent a696e041e1
commit 2ff6da49f0
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
12 changed files with 691 additions and 54 deletions

View file

@ -903,6 +903,10 @@ static DWORD WINAPI DownloadISOThread(LPVOID param)
//#define FORCE_URL "https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-9.8.0-amd64-netinst.iso"
#if !defined(FORCE_URL)
#if defined(RUFUS_TEST)
IGNORE_RETVAL(hFile);
IGNORE_RETVAL(sig_url);
IGNORE_RETVAL(dwCompressedSize);
IGNORE_RETVAL(uncompressed_size);
// In test mode, just use our local script
static_strcpy(script_path, "D:\\Projects\\Fido\\Fido.ps1");
#else