Bug in mkdir ?

Earnie Boyd earnie_boyd@yahoo.com
Sat Jan 27 12:02:00 GMT 2001

Christopher Faylor wrote:

> On Sat, Jan 27, 2001 at 05:03:11PM +0100, klaus.berndl@sdm.de wrote:
> >Hello,
> >
> >i´m using mkdir (GNU Fileutils 4.0) of the latest cygwin and it seems that the -p option
> >is not correct handled with all path-styles:
> >   mkdir -p <driveletter>:/any/path/to/a/new/dir
> >and
> >   mkdir -p /cygdrive/<driveletter>/any/path/to/a/new/dir
> >are working correct. But if i write
> >   mkdir -p //<driveletter>/any/path/to/a/new/dir
> >then the file is not created if it doesn´t exists (wrong), if it exists already
> >nothing is done (correct).
> >
> >I know that this pathstyle (//driveletter>/...) is somehow "deprecated" but IMHO
> >nevertheless it should be handled correct by every tools at least until this style is officially
> >not supported.
> I really can't get too excited about getting an obscure use of a
> deprecated feature working.
> Perhaps you would like to submit a patch if this is important to you.

I can't get too excited about a patch being applied for it either.   Now on the other hand if `mkdir
-p //host/share/foodir/bardir doesn't work then that is a different matter.  I would like to push
for making //<driveletter>/... invalid after the 1.1.8 release.


Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

More information about the Cygwin mailing list