1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-08-14 23:57:05 +00:00

[format] set read-only checkdisk error as benign

* Closes #106
This commit is contained in:
Pete Batard 2012-12-13 23:50:23 +00:00
parent 2784a5d1d7
commit 638f7876c4
3 changed files with 9 additions and 6 deletions

View file

@ -186,6 +186,9 @@ static BOOLEAN __stdcall ChkdskCallback(FILE_SYSTEM_CALLBACK_COMMAND Command, DW
uprintf("No media in drive\n"); uprintf("No media in drive\n");
FormatStatus = ERROR_SEVERITY_ERROR|FAC(FACILITY_STORAGE)|ERROR_NO_MEDIA_IN_DRIVE; FormatStatus = ERROR_SEVERITY_ERROR|FAC(FACILITY_STORAGE)|ERROR_NO_MEDIA_IN_DRIVE;
break; break;
case FCC_READ_ONLY_MODE:
uprintf("Media has been switched to read-only - Leaving checkdisk\n");
break;
default: default:
uprintf("ChkdskExCallback: received unhandled command %X\n", Command); uprintf("ChkdskExCallback: received unhandled command %X\n", Command);
// Assume the command isn't an error // Assume the command isn't an error

View file

@ -57,7 +57,7 @@ typedef enum {
FCC_UNKNOWN1D, FCC_UNKNOWN1D,
FCC_UNKNOWN1E, FCC_UNKNOWN1E,
FCC_UNKNOWN1F, FCC_UNKNOWN1F,
FCC_UNKNOWN20, FCC_READ_ONLY_MODE,
} FILE_SYSTEM_CALLBACK_COMMAND; } FILE_SYSTEM_CALLBACK_COMMAND;
typedef struct { typedef struct {

View file

@ -30,7 +30,7 @@ LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL
IDD_DIALOG DIALOGEX 12, 12, 206, 316 IDD_DIALOG DIALOGEX 12, 12, 206, 316
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_APPWINDOW EXSTYLE WS_EX_APPWINDOW
CAPTION "Rufus v1.3.0.209" CAPTION "Rufus v1.3.0.210"
FONT 8, "MS Shell Dlg", 400, 0, 0x1 FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN BEGIN
DEFPUSHBUTTON "Start",IDC_START,94,278,50,14 DEFPUSHBUTTON "Start",IDC_START,94,278,50,14
@ -274,8 +274,8 @@ END
// //
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,3,0,209 FILEVERSION 1,3,0,210
PRODUCTVERSION 1,3,0,209 PRODUCTVERSION 1,3,0,210
FILEFLAGSMASK 0x3fL FILEFLAGSMASK 0x3fL
#ifdef _DEBUG #ifdef _DEBUG
FILEFLAGS 0x1L FILEFLAGS 0x1L
@ -292,13 +292,13 @@ BEGIN
BEGIN BEGIN
VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)" VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)"
VALUE "FileDescription", "Rufus" VALUE "FileDescription", "Rufus"
VALUE "FileVersion", "1.3.0.209" VALUE "FileVersion", "1.3.0.210"
VALUE "InternalName", "Rufus" VALUE "InternalName", "Rufus"
VALUE "LegalCopyright", "(c) 2011-2012 Pete Batard (GPL v3)" VALUE "LegalCopyright", "(c) 2011-2012 Pete Batard (GPL v3)"
VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html" VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html"
VALUE "OriginalFilename", "rufus.exe" VALUE "OriginalFilename", "rufus.exe"
VALUE "ProductName", "Rufus" VALUE "ProductName", "Rufus"
VALUE "ProductVersion", "1.3.0.209" VALUE "ProductVersion", "1.3.0.210"
END END
END END
BLOCK "VarFileInfo" BLOCK "VarFileInfo"