Mail Archives: cygwin/2000/06/25/11:28:20
------=_NextPart_000_005C_01BFDE7F.FCCEFE20
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
What type of file caching does Cygwin use and can it be disabled?
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.
Brian (Cygwin newbie)
------=_NextPart_000_005C_01BFDE7F.FCCEFE20
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3013.2600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>What type of file caching does Cygwin =
use and can=20
it be disabled?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Here's my problem:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I mount a mapped drive from a local =
Linux=20
machine. If I first run a script residing on this mount in=20
Cygwin, then edit it on the linux machine, cygwin won't see any =
changes to=20
that file unless I access it (touch or edit) first. Executing the =
script=20
again will yeild old results.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>For example:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- A script on the mounted drive has one =
line: echo=20
"Old"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- I run it in Cygwin and see "Old"=20
echoed</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- I edit it on the Linux system to be: =
echo=20
"New"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- I run it in Cygwin and see "Old"=20
echoed</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- I touch the file in Cygwin and run it =
again and=20
see "New" echoed</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>Sorry if this has been covered, but I =
found no info=20
in the docs or archves.</FONT></DIV>
<DIV> </DIV>
<DIV>Brian (Cygwin newbie)</DIV></FONT></DIV></FONT></DIV></BODY></HTML>
------=_NextPart_000_005C_01BFDE7F.FCCEFE20--
- Raw text -