Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Tue, 13 Feb 2001 15:06:36 -0500
Message-Id: <200102132006.PAA09417@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj@envy.delorie.com using -f
From: DJ Delorie <dj@delorie.com>
To: jik@curl.com
CC: cygwin@cygwin.com
In-reply-to: <20010213195637.17813.qmail@lizard.curl.com> (message from
	Jonathan Kamens on 13 Feb 2001 14:56:37 -0500)
Subject: Re: Optimizing away "ReadFile" calls when Make calls stat()
References: <4.3.1.2.20010213134821.019a7130@pop.ma.ultranet.com> <20010213190131.14369.qmail@lizard.curl.com> <200102131935.OAA09136@envy.delorie.com> <20010213194612.17311.qmail@lizard.curl.com> <200102131954.OAA09284@envy.delorie.com> <20010213195637.17813.qmail@lizard.curl.com>


> >  Perhaps you could
> >  propose a set of mount flags to optimize common situations?  We
> >  already have one to avoid the read-for-execute test,
> 
> Could you elaborate on that?

$ mount --h
...
-x  treat all files under mount point as executables.

> I think that's a very good idea.  If you tell me a little bit more
> about the read-for-execute mount flag, with which I'm not familiar, I
> can look into implementing a similar thing for symbolic links.

winsup/utils/mount.cc sets it.  <sys/mount.h> defines
MOUNT_CYGWIN_EXEC but look for PATH_ALL_EXEC to see where
it's relevent (in path.{cc,h}).

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

