Subject: Re: Linux emulation and mkdir with trailing /
To: Todd Vierling <firstname.lastname@example.org>
From: Warner Losh <email@example.com>
Date: 09/23/2000 15:41:19
In message <Pine.NEB.firstname.lastname@example.org> Todd Vierling writes:
: On Sat, 23 Sep 2000, Bill Sommerfeld wrote:
: : If linux allows mkdir("/tmp/foo/") to succeed, then our emulation
: : needs to, as well.
: Yes. Additionally, the SVR4 emulation needs to be audited for this same
: characteristic -- and we may need to test the same with rmdir.
: The change needed is pretty simple; after copyin() of the path, chop
: trailing slashes before passing to the emul-lookup routine and the rest of
: the code.
FreeBSD succeeds with mkdir /tmp/foo/. So does NetBSD -current from
the second week in august.