delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/27/13:31:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <417FDAF4.6050404@x-ray.at>
Date: Wed, 27 Oct 2004 19:29:24 +0200
From: Reini Urban <rurban AT x-ray DOT at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a3) Gecko/20040817
MIME-Version: 1.0
To: cygwin <cygwin AT cygwin DOT com>
Subject: sync(2)
X-IsSubscribed: yes

Is anybody aware of any cygwin app (supported or not) which uses/needs 
the sync() system call?
I found some occasional encounters of fsync(), but luckily no sync() 
yet. only in some unused testsuites :)

sync() should flush all open or cached file data and metadata. and 
volume master blocks.

The problem is that I have a simple patch, but this might get tricky if 
there are more processes involved, which I doubt. I doubt that there 
such a thing exists and that it will be useful at all.
We could also just flush all local NTFS volumes, but this would need 
Administrator privileges (and therefore probably cygserver support).

* http://www.sysinternals.com/ntw2k/source/misc.shtml#sync
* 
http://msdn.microsoft.com/library/en-us/fileio/base/flushfilebuffers.asp 
* http://www.cygwin.com/ml/cygwin-patches/2004-q4/msg00086.html
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019