FSCTL_MOVE_FILE corrupts a FAT16 file system

My application defragment files using the public FSCTL API, but I noticed
that the amount of free space gets corrupted on FAT16 file systems
(everywhere else it works ok); you have to run chkdsk to get it fixed. Is
this a known bug? What would be the fix/workaround?

Thanks,

Andres

Andres,

I spoke with the FastFat dev and he is not aware of this issue. He took
a look at the code and the defrag APIs should work. I would recommend
that you contact your Microsoft support person about this issue and open
a problem report. This way you will be able to work with the
appropriate devs to resolve this issue.

Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no
rights


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Andrej Mlinar
Groznik
Sent: Monday, September 06, 2004 5:08 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] FSCTL_MOVE_FILE corrupts a FAT16 file system

My application defragment files using the public FSCTL API, but I
noticed that the amount of free space gets corrupted on FAT16 file
systems (everywhere else it works ok); you have to run chkdsk to get it
fixed. Is this a known bug? What would be the fix/workaround?

Thanks,
Andres


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com