www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/01/23:24:20

Message-Id: <200406020324.i523OJdD004199@delorie.com>
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
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>
Subject: RE: flushall
Date: Tue, 1 Jun 2004 22:24:07 -0500
MIME-Version: 1.0
In-Reply-To: <20040601.114743.4768.149662@webmail06.nyc.untd.com>
X-IsSubscribed: yes

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

- Raw text -


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