delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/25/12:19:45

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Sun, 25 Jun 2000 12:19:18 -0400
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: File Synchronization
Message-ID: <20000625121918.F790@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: cygwin AT sourceware DOT cygnus DOT com
References: <006301bfdeba$ab91b6c0$4502a8c0 AT salathe>
Mime-Version: 1.0
User-Agent: Mutt/1.2i
In-Reply-To: <006301bfdeba$ab91b6c0$4502a8c0@salathe>; from brians@xwarecorp.com on Sun, Jun 25, 2000 at 08:33:07AM -0700

On Sun, Jun 25, 2000 at 08:33:07AM -0700, Brian Sassone wrote:
>What type of file caching does Cygwin use and can it be disabled?

It uses the "perform all I/O using normal Windows methods" file caching
technique.

What you are describing sounds like normal samba operation.  You can easily
duplicate it with standard Windows tools, taking cygwin out of the equation.

cgf

>Here's my problem:
>I mount a mapped drive from a local Linux machine. If I first run a script residing on this mount in Cygwin, then edit it on the linux machine, cygwin won't see any changes to that file unless I access it (touch or edit) first.  Executing the script again will yeild old results.
>
>For example:
>- A script on the mounted drive has one line: echo "Old"
>- I run it in Cygwin and see "Old" echoed
>- I edit it on the Linux system to be: echo "New"
>- I run it in Cygwin and see "Old" echoed
>- I touch the file in Cygwin and run it again and see "New" echoed
>
>Sorry if this has been covered, but I found no info in the docs or archves.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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