Use of colon in filenames

Rolf Campbell rcampbell@tropicnetworks.com
Fri Apr 18 20:02:00 GMT 2003


C. Brian Jones wrote:
> All,
> 
> Should attempts to create files such as "foo::bar" or "foo::bar::baz" 
> really cause a no such file error for 'touch', 'install', etc.?
> 
> $ touch 'foo::bar'
> touch: creating `foo::bar': Invalid argument
> 
> $ touch 'foo::bar::baz'
> touch: creating `foo::bar::baz': No such file or directory
> 
> $ install foo bar::baz
> install: cannot create regular file `bar::baz': Invalid argument
> 
> $ install foo bar::baz::bop
> install: cannot create regular file `bar::baz::bop': No such file or 
> directory
> 
> Any way to get the more UNIX-like behavior?
> 
> Brian


\ / : * ? " < > | are not allowed in ms-filenames.  There is no way to 
avoid this (without direct disk writes).



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