Corinna Vinschen wrote:
Fodder for future Cygwin development:
...
If you have other ideas what could be helpful for Cygwin, don't be shy
to add it to this thread. Ideally with the intention to look into
implementing it by yourself, but at least a certain willingness to look
into the source code and discuss potential ways to implement it given
the current framework.
- Add ability to temporarily disable expensive stat() functionality.
Useful to speed up directory traversals which don't need correct
permission bits, for example:
$ CYGWIN=stat:noacl,notexec find /large/dirtree -type f -mtime +365
Alternatively allow to override mount options also for other functions
like chmod(), for example:
$ CYGWIN=mount:noacl chmod -w file # sets R/O attribute
$ CYGWIN=mount:noacl touch new_file # inherits ACL
(The latter is possibly easier to implement by changing MOUNT_* in path.*)
- Add ability to specify mount options for individual /cygdrive/s.
For example useful to add 'notexec' for slow USB flash drives:
none /cygdrive cygdrive binary,posix=0,user,noacl 0 0
none /cygdrive/f cygdrive binary,posix=0,user,noacl,notexec 0 0
(No idea how to implement this, sorry)
--
Regards,
Christian