FlushFileBuffers in non-privileged user mode



<URL:http://homepages.tesco.net./~J.deBoynePollard/FGA/put-down-the-
chocolate-covered-banana.html>

H> Back to my problem, some of my users report to me that under
H> Windows 2000 user mode, they have data corruption problem
H> even though OS return safely remove successful message.

You've checked firsthand that these users are not performing surprise
removal rather than safe removal? It is, after all, not unheard-of
for users to incorrectly describe what they are doing. ("Windows is
telling me after I have removed it that the device requires safe
removal. So I must have removed it safely.")

This is a classic symptom of surprise removal. As <URL:http://
microsoft.com./whdc/device/storage/usbfaq.mspx#EUDAC> says, "Customer
feedback showed that consumers were unplugging USB storage devices
from systems, without going to the 'safely remove hardware' tab in the
system tray on Windows 2000 systems. Such random removal sometimes
left storage devices in a corrupted state.".

Read <URL:http://microsoft.com./whdc/system/pnppwr/hotadd/XPrem-
devs.mspx>, too.

H> It seems that due to FAT32, the write back of cache is slower
H> than FAT.

That's nonsense. FAT32 _is_ FAT.

H> That's the reason why I am seeking for a solution to flush
H> file buffers in non privileged mode.

Put down that chocolate-covered banana. What you should be doing is
(a) confirming with your own eyes that this is most definitely _not_
surprise removal, and (b) looking for reasons why safe removal of a
device would result in filesystem corruption.

.



Relevant Pages

  • Re: Apple issues warning on Vista
    ... the Windows environment yet. ... Well, sir, since I have nothing to hide from our government, I have nothing to ... citizenry, as well as the government, has become corrupt to the core. ... corruption, the sooner the mess will be cleaned up. ...
    (comp.sys.mac.advocacy)
  • Re: Apple issues warning on Vista
    ... YOU sir, seem to be the one who has FAILED to inform himself. ... the Windows environment yet. ... Well, sir, since I have nothing to hide from our government, I have nothing to ... corruption, the sooner the mess will be cleaned up. ...
    (comp.sys.mac.advocacy)
  • Re: data corruption with nvidia nForce 4 chipsets and IDE/SATA drives
    ... connected to a Nvidia controller. ... copy the probabability of corruption is also greatly reduced (the PATA ... I removed half the memory (two 1 GiB DIMMs from the second bank). ... < 748b7ad615a62e41a88a6b5d47bb5581 Windows XP-f001.vmdk ...
    (Linux-Kernel)
  • Re: Startup problems, corrupted system files, black screen and updates
    ... about a minute of confusion, a Windows Bubble popped up in the corner, saying ... multiple internet windows open. ... the constant corruption of files and failure to update. ... The said virus opened countless of hidden windows and processes, ...
    (microsoft.public.windows.mediacenter)
  • Re: Dell Dimension 2400 Problem
    ... enough that Windows setup is crashing when it examines the hard drive. ... It's not a great idea to leave a computer running when the power going ... temporarily install another hard drive to see if you can install ... In my experience, most of the time hard drive corruption is caused by a partial failure of the drive hardware, for example, sectors of data going bad. ...
    (alt.sys.pc-clone.dell)