Added some interesting functionality to my cygwin sandbox

Christopher Faylor cgf@redhat.com
Mon Jun 30 14:29:00 GMT 2003


I added a mount flag over the weekend that allows you to do this:

touch aux abc:def Aux

producing the files aux, abc:def, and Aux, all in the same directory.

I encode filenames with special characters (extremely similar to
Robert's encoding in the setup download directory) when a certain mount
flag is detected.  If this bit isn't set, the DLL behaves as usual.

This was really much easier than I thought it would be, so I've probably
missed something.

One question, though, is that this now ambiguates things like a:/foo.

Does this reference the a: drive or the a: directory?  I'm assuming that
it should probably be the a: directory in those cases where your
current directory is one that has the proper bit set but this makes
me slightly uncomfortable since it is such a departure from the way
cygwin used to work.

Any thoughts?

cgf



More information about the Cygwin-developers mailing list