Opened 9 years ago

Closed 3 years ago

#12 closed enhancement (fixed)

chkdsk processing during bootup needs to be changed

Reported by: warpuser Owned by: somebody
Priority: Feedback Pending Milestone: GA
Component: IFS Version: 1.0
Severity: highest Keywords: fat32 boot


We now run into a problem that due other developments to be able to boot from a FAT32 drive. All is working ok till the volume is in dirty state, unlike hpfs, jfs, and others the fat32.ifs driver wont run chkdsk to have a clean state after it. The job to run chkdsk is made by the cachef32 later in the boot process, however in this stage it will run into a "SYS0108 drive is locked by another process" ... so there is no way to have a clean drive in this situation. chkdsk handling needs to be moved to the ifs driver.

Change History (8)

comment:1 Changed 4 years ago by Valery V. Sedletski

Severity: highest

With, the support for autochecking of fat32 on IFS init is added. The problem was that CHKDSK called some ioctl and fsctl functions in fat32.ifs during the disk checking. So, I needed to port the called code from the IFS to chkdsk, to be called locally. This is done. Now CHKDSK is successfully called from IFS init. Also, added /autocheck or /ac switch to fat32.ifs. As it is with HPFS and JFS, this specifies the list of disks to be checked on init.

comment:2 Changed 4 years ago by diver

Milestone: GA

is this completely done now?

comment:3 Changed 4 years ago by Valery V. Sedletski

This is mostly works with ​, but I see sometimes it checks some disks almost at each reboot, and some disks are not checked, even after traps. Something with dirty flag setting?

comment:4 Changed 4 years ago by Valery V. Sedletski

Updated the binaries again, the link is at

comment:5 Changed 4 years ago by diver

Priority: majorFeedback Pending

comment:6 Changed 4 years ago by diver

goes along with #27?

comment:7 Changed 3 years ago by Valery V. Sedletski

Now chkdsk is run from the IFS routine, and seems to work as expected, so closing the ticket.

comment:8 Changed 3 years ago by Valery V. Sedletski

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.