Date: Sun, 7 Mar 2010 12:54:57 +0200 From: Jaakko Heinonen <jh@FreeBSD.org> To: Garrett Cooper <yanefbsd@gmail.com> Cc: freebsd-hackers@freebsd.org, Poul-Henning Kamp <phk@phk.freebsd.dk>, Bruce Evans <brde@optusnet.com.au>, Alexander Best <alexbestms@wwu.de> Subject: Re: namei() returns EISDIR for "/" (Re: svn commit: r203990 - head/lib/libc/sys) Message-ID: <20100307105457.GB9015@a91-153-117-195.elisa-laajakaista.fi> In-Reply-To: <7d6fde3d1003060113t72164fdbn3d0367d2fec540c1@mail.gmail.com> References: <6413.1266433105@critter.freebsd.dk> <20100218064545.J2074@besplex.bde.org> <20100218095538.GA2318@a91-153-117-195.elisa-laajakaista.fi> <20100225195138.GA3323@a91-153-117-195.elisa-laajakaista.fi> <20100226091923.X2605@delplex.bde.org> <20100228174936.GA1252@a91-153-117-195.elisa-laajakaista.fi> <20100305055758.GA1062@a91-153-117-195.elisa-laajakaista.fi> <7d6fde3d1003060113t72164fdbn3d0367d2fec540c1@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2010-03-06, Garrett Cooper wrote: > > > > http://people.freebsd.org/~jh/patches/lookup-root.2.diff > > 1. EBUSY's new definition doesn't look correct for rename(2) given > POSIX's definition ( > http://www.opengroup.org/onlinepubs/009695399/functions/rename.html ): > > [EBUSY] > [CX] [Option Start] The directory named by old or new is currently > in use by the system or another process, and the implementation > considers this an error. [Option End] Well, I don't think that it conflicts with POSIX. The root directory is in use by the system and it's not allowed to be renamed. > 2. I also did some quick snooping around and all filesystems that > support symlinks that FreeBSD has, sans ZFS [*], seem to support > EMLINK. Should we add this to the documentation? Probably, but it's not related to the changes made by the patch. -- Jaakko
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100307105457.GB9015>