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@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
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org