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

Re: Filenames with Win32 special characters (or: Interix filename compatibility)


Corinna Vinschen wrote:

> Reserved DOS device names are no problem in the NT name space.  In 1.7.0
> you can create a file "nul" in your cwd and access it as file, as long
> as you use Cygwin or Interix.

I'm always glad to see another nail in managed mounts' coffin!  However:

> Case sensitivity is still not possible with this approach.  You
> can get generic case sensitivity in Cygwin with a bit of work.  The
> magic flag is OBJ_CASE_INSENSITIVE in the object attributes.  However,
> this would not work for fork/exec.

Sadly Linux netfilter source still contains stuff like xt_connmark.h as
well as xt_CONNMARK.h as separate files in the same dir, so anyone
wanting to cross compile a kernel will have to continue to use managed
mounts.

> > $ CYGWIN=noposixnames echo "secret" >file.txt:ads
> 
> Blaeh.  Is anybody really using streams seriously?  As far as the
> Cygwin mailing list goes, people always complained that trying to
> create a file 'foo:bar' always only creates a file 'foo'.

Well, the good news is that as the person doing the coding you get to
Just Be Mean(tm) and tell anyone that wanted to access streams to GTFO. 
:)

Brian


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