Subject: Re: Linux emulation and mkdir with trailing /
To: Christos Zoulas <christos@zoulas.com>
From: David Brownlee <abs@netbsd.org>
List: tech-kern
Date: 09/25/2000 09:40:54
On Sun, 24 Sep 2000, Christos Zoulas wrote:

> Fixing this in userland is a PITA, specially when one considers
> symlinks too.
> 
> Having said that, it would be nice if:
> - the emulations DTRT
> - if posix really says that the trailing slashes are ignored:
> 	- provide posix_ functions [but that is a pain because
> 	  there are too many of them, and it adds a lot of crud].
> 	- provide a sysctl to turn this on [this is *really*
> 	  bad]

	At the very least we should fix mkdir(2) to ignore the trailing
	'/', but I'm actually with Greg on this one - we should bite the
	bullet and switch everything across to the standard.