Subject: Re: Linux emulation and mkdir with trailing /
To: None <abs@purplei.com>
From: Matthew Orgass <darkstar@pgh.net>
List: tech-kern
Date: 09/17/2000 06:51:03
On Sat, 16 Sep 2000 abs@purplei.com wrote:

> 	I have a linux binary here which calls the mkdir system call with
> 	a trailing /
> 
> 	a) Does anyone know if a relevant unix standard has anything to
> 	   say on this behaviour?

  SUSv2 (and I believe POSIX) says that directories may have one or more
trailing slashes, so this should be accepted.

> 	b) If its not in the standard, woult it make sense to change the
> 	   linux emulation to handle it?

  Yes, linux emulation is about emulating linux, not about standards.  If
linux accepts it, linux emulation should.

Matthew Orgass
darkstar@pgh.net