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

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

clone 675760 -1
reassign -1 kfreebsd-image-9-amd64
retitle -1 kfreebsd: mkdir(2) sets errno to EISDIR
block 675760 by -1
affects -1 + cupt
retitle 675760 (on kfreebsd) E: unable to create the directory '/'
severity 675760 important

Hello reporter and KFreeBSD maintainers,

On 2012-06-03 10:00, goneri wrote:
> E: unable to create the directory '/': Is a directory

Thank you for reporting this issue.

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.

| (squeeze)jackyf@asdfasdf:~$ mkdir /
| mkdir: cannot create directory `/': Is a directory
[2] http://pubs.opengroup.org/onlinepubs/9699919799/functions/mkdir.html

Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
C++ GNU/Linux developer, Debian Developer

Reply to: