[BusyBox] mkdir in cvs problem?
Glenn McGrath
bug1 at optushome.com.au
Sat Sep 21 20:20:06 UTC 2002
On 21 Sep 2002 14:42:43 -0700
Richard Doyle <rdoyle at islandnetworks.com> wrote:
> Busybox's mkdir seems to provide incorrect error messages.
> Using BusyBox v0.61.pre (2002.09.20-20:53+0000):
>
> $ ./mkdir /tmp/foo
> $ ./mkdir /tmp/foo
> $ ./mkdir /tmp/foo/bar/baz
> mkdir: Cannot create directory /tmp/foo/bar/baz: No such file or
> directory
> $ ./mkdir -p /tmp/foo/bar/baz
> mkdir: Cannot create directory : No such file or directory
>
> In fact, the last command actually works (it creates /tmp/foo/bar/baz);
> the error message appears to be spurious.
>
>
> busybox.html says the responses ought to be:
>
> $ mkdir /tmp/foo
> $ mkdir /tmp/foo
> /tmp/foo: File exists
> $ mkdir /tmp/foo/bar/baz
> /tmp/foo/bar/baz: No such file or directory
> $ mkdir -p /tmp/foo/bar/baz
>
> I know the mkdir -p command worked as expected in busybox in cvs this
> past July.
>
Ok, fixed in cvs, it behaves the same as gnu mkdir now, it uses the same
syntax as GNU mkdir.
Glenn
More information about the busybox
mailing list