[Cupt-devel] Bug#675760: Bug#675760: E: unable to create the directory '/'

Petr Salinger Petr.Salinger at seznam.cz
Sun Jun 3 10:03:39 UTC 2012


> Yes, this problem is definitely KFreeBSD-specific. Cupt calls mkdir('/')
> and expects EEXIST but get EISDIR [1]. This is not allowed by POSIX [2]
> so I believe this is a bug in kfreebsd kernels.
>
> I also guess I will have to implement a workaround for this but before
> let's see what KFreeBSD maintainers say.
> [1]
> | (squeeze)jackyf at asdfasdf:~$ mkdir /
> | mkdir: cannot create directory `/': Is a directory
> [2] http://pubs.opengroup.org/onlinepubs/9699919799/functions/mkdir.html

Please note, that this behaviour affects only "mkdir /",
"mkdir /home" or "mkdir /bin" return "File exists".

Effectively, you cannot create "/" under any system.

Petr






More information about the Cupt-devel mailing list