This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: File Synchronization


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]