This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: flushall
- From: "GARY VANSICKLE" <g dot r dot vansickle at worldnet dot att dot net>
- To: "'dbseraf'" <dbseraf at netzero dot com>, <cygwin at cygwin dot com>
- Date: Tue, 1 Jun 2004 22:24:07 -0500
- Subject: RE: flushall
> I'm trying to port some code that uses flushall() to cygwin.
> The non-windows version of the code uses 'system("sync")'
> but this fails the builtin tests.
>
> The code is hdf5-1.6.2, in case that helps.
>
Not sure what an "hdf5" is, but in general it is not possible to do
sync-to-backing-storage from an arbitrary account in Windows. Not even on
removable media, which of course is where you often need it most.
Microsoft's rationale behind this escapes me, but there it is. Furthermore,
even when you can do it, the method is completely different in Win9x and the
NT series.
This functionality could probably be added to the cygserver by somebody with
sufficient reason to do so. Until that happens, if you really truly need an
all-the-way-to-the-media flush in cygwin, you're SOL.
--
Gary R. Van Sickle
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/