On 2010-02-18, Jaakko Heinonen wrote: > > namei() returns EISDIR for "/" (due to DELETE and and the special handling > > of the degenerate case which includes "/" and not much else, else the bug > > would affect more cases). > > This causes a problem also for mkdir(2), rmdir(2) and rename(2). All of > them incorrectly return EISDIR for "/".
Here is a patch which attempts to fix mkdir(2), rmdir(2), rename(2) and unlink(2) errno return value for "/". http://people.freebsd.org/~jh/patches/lookup-root.diff -- Jaakko _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"