[ext2fs] add registry setting to specify which ext fs version we should use

* Also improve log progress report
* Also move ext formatting to before we format the main partition
This commit is contained in:
Pete Batard 2019-04-17 20:34:39 +01:00
parent 0ad3f8c1d3
commit 0a3600f9ff
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
5 changed files with 98 additions and 67 deletions

View file

@ -1860,10 +1860,12 @@ out:
}
#ifdef RUFUS_TEST
extern BOOL FormatExtFs(const char* label, uint32_t version);
#endif
/*
* Main dialog callback
*/
extern BOOL FormatExt2Fs(const char* label);
static INT_PTR CALLBACK MainCallback(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
static DWORD DeviceNum = 0;
@ -1896,7 +1898,7 @@ static INT_PTR CALLBACK MainCallback(HWND hDlg, UINT message, WPARAM wParam, LPA
case WM_COMMAND:
#ifdef RUFUS_TEST
if (LOWORD(wParam) == IDC_TEST) {
FormatExt2Fs("casper-rw");
FormatExtFs("casper-rw", 3);
break;
}
#endif