Bug in mkdir ?

Christopher Faylor cgf@redhat.com
Sat Jan 27 08:29:00 GMT 2001


On Sat, Jan 27, 2001 at 11:24:49AM -0500, 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.

Btw, this is apparently a problem with "mkdir", not cygwin.

cgf

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



More information about the Cygwin mailing list