This is the mail archive of the cygwin@cygwin.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] |
Other format: | [Raw text] |
Christopher Faylor wrote:----
On Wed, Oct 22, 2003 at 09:40:10PM +0200, Hannu E K Nevalainen wrote:
From: Linda W.
Sent: Wednesday, October 22, 2003 12:49 AM
Perhaps it is unavoidable, but I see things like find doing 2
'opens' /file when it is searching for files...can't it just do a
'stat' of some nature? does it need to do an open, let alone 2?
<snip>
The reason why stat() opens a file even with ntsec is to use
GetFileInformationByHandle
---
I believe that the major culprit is looking for executable files. If I have understood things correctly.
$ mount -h | grep exe
-x, --executable treat all files under mount point as executables
-E, --no-executable treat all files under mount point as
non-executables
-X, --cygwin-executable treat all files under mount point as
cygwin executables
AFAIK this applies only when (smb)ntsec isn't in effect. Correct me if I am wrong.
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |