[USETUP] Our current FAT ChkDsk being a bit slow when using the right path make
authorPierre Schweitzer <pierre@reactos.org>
Sun, 17 Dec 2017 22:26:38 +0000 (23:26 +0100)
committerPierre Schweitzer <pierre@reactos.org>
Sun, 17 Dec 2017 22:26:38 +0000 (23:26 +0100)
it only perform a full check if dirty bit is set (which should never happen *cough*).

This is needed because otherwise, ReactOS installation takes forever when IopParseDevice is gone
due to slow ChkDsk.

base/setup/usetup/chkdsk.c

index 1ad582a..6d8df5d 100644 (file)
@@ -77,7 +77,7 @@ ChkdskPartition(
     Status = FileSystem->ChkdskFunc(DriveRoot,
                                     TRUE,            /* FixErrors */
                                     FALSE,           /* Verbose */
-                                    FALSE,           /* CheckOnlyIfDirty */
+                                    TRUE,            /* CheckOnlyIfDirty */
                                     FALSE,           /* ScanDrive */
                                     ChkdskCallback); /* Callback */