FlushFileBuffers in non-privileged user mode
- From: J de Boyne Pollard <j.deboynepollard@xxxxxxxxx>
- Date: Thu, 18 Oct 2007 05:04:54 -0700
<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.
.
- References:
- FlushFileBuffers in non-privileged user mode
- From: Hirakawa
- Re: FlushFileBuffers in non-privileged user mode
- From: Uwe Sieber
- Re: FlushFileBuffers in non-privileged user mode
- From: Hirakawa
- FlushFileBuffers in non-privileged user mode
- Prev by Date: Re: Which part of the system is stopped during the kernell debugging?
- Next by Date: Re: MsgWaitForMultipleObjects - The Saga Continues...
- Previous by thread: Re: FlushFileBuffers in non-privileged user mode
- Next by thread: RE: ETW And TraceEventInstance
- Index(es):
Relevant Pages
|