Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
From: Chris Faylor <cgf@cygnus.com>
Date: Sun, 25 Jun 2000 12:19:18 -0400
To: cygwin@sourceware.cygnus.com
Subject: Re: File Synchronization
Message-ID: <20000625121918.F790@cygnus.com>
Reply-To: cygwin@sourceware.cygnus.com
Mail-Followup-To: cygwin@sourceware.cygnus.com
References: <006301bfdeba$ab91b6c0$4502a8c0@salathe>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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@sourceware.cygnus.com

