This is the mail archive of the cygwin 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: open() giving ENOENT when trying to create files with control chars


On Fri, Dec 02, 2005 at 11:09:05PM +0100, Corinna Vinschen wrote:
> On Dec  2 20:38, Eric Blake wrote:
> > > I'm trying to create a file (on NTFS) with a CR in the name and getting
> > > ENOENT; is it possible for this to work (without a managed mount)?
> > 
> > Welcome to Windows.  None of these non-portable characters are
> > supported in filenames except in managed mounts.
> 
> Just to push the point a bit, note the words "non-portable".

I did do a bit of looking around before posting, and saw the *?/\<>|:"
characters mentioned in several places, but not the 0-0x1f characters.
Now, I've looked more and see those officially verboten as well.
(Though I also saw a page that documents how 8.3 filenames are formed
and seems to say that the *?/\<>|:" characters *are* possible in NTFS
filenames.)

http://support.microsoft.com/default.aspx?scid=kb;en-us;117258
is interesting...

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


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