This is the mail archive of the cygwin-developers@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]

Added some interesting functionality to my cygwin sandbox


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]