Managed mounts and .exe files (Was Re: cp, install, and the .exe extension)

Igor Pechtchanski pechtcha@cs.nyu.edu
Sat Feb 21 20:31:00 GMT 2004


On Sat, 21 Feb 2004, Robert R Schneck-McConnell wrote:

> [snip]
> Hey, it might be interesting for managed mounts *really* to identify the
> filenames "foo" and "foo.exe".  (Maybe they already do?)
>
> Robert

Huh?  What do you mean by "identify" here?  If you mean "equate", this
most likely won't happen.  If you mean "differentiate", then that's
already happening even on non-managed mounts (hence the need for special
cp and install hacks).  If you simply mean that *cp* (and install) should
not assume foo=foo.exe on managed mounts, then PTC. :-)

FWIW, WinNT/2k/XP allow executables to not have a .exe extension.

This does, however, bring me to an interesting observation about managed
mode mounts that I just thought of: since capital letters are encoded on
managed mounts, the underlying filesystem won't see "a.Exe" as an
executable file (nor, for that matter, "A.EXE").  Or, rather, it'll
probably be possible to execute it (especially on WinNT/2k/XP systems),
but using "./a.Exe", not "./a".  I know, I know, PTC, but I just wanted to
get this into the archives.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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/



More information about the Cygwin mailing list