bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mkdir typo


From: Jim Meyering
Subject: Re: mkdir typo
Date: Sat, 12 Apr 2003 22:48:27 +0200

Stephen Leaf <address@hidden> wrote:
> Typo:
> mkdir: cannot create directory `a': File exists
>
> Shouldn't it say 'Directory exists'?

Ideally, that's what it would say when `a' is a directory.
What it means is that the existence of some `file system object'
caused mkdir to fail.  Sometimes we use `file' that way.

When the mkdir syscall fails, it sets errno to EEXIST,
which (via strerror) is usually rendered in English as `File exists'.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]