Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Gary R. Van Sickle" To: Subject: RE: Question on sync Date: Tue, 4 Mar 2003 01:27:00 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal > All, > > 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 Brewer. Patriot. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/