This is the mail archive of the
mailing list for the Cygwin project.
RE: Question on sync
- From: "Gary R. Van Sickle" <g dot r dot vansickle at worldnet dot att dot net>
- To: <cygwin at cygwin dot com>
- Date: Tue, 4 Mar 2003 01:27:00 -0600
- Subject: RE: Question on sync
> Does sync()on cygwin give the same guarantees
> as it does on other unices ? Does it guarantee
> that all the file blocks in memory caches are
> flushed onto disk ?
No, as Chris said it does nothing. In fact, it's hard to believe, but it's damn
near *impossible* to actually implement sync() on certain Windows platforms, in
particular the NT's up until and including Why2K. Don't know about XP.
Security issues if the current acct isn't admin.
Hmmm... another good task for cygserver....
Gary R. Van Sickle
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html