Subject: Re: mkdir with trailing / (patch proposed)
To: None <tech-userlevel@netbsd.org, tech-kern@netbsd.org>
From: Julio Merino <jmmv@hispabsd.org>
List: tech-kern
Date: 04/28/2002 21:33:10
--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Apr 29, 2002 at 04:19:42AM +0900, Izumi Tsutsui wrote:
> In article <20020428191024.GA558@darkstar.local>
> jmmv@hispabsd.org wrote:
>=20
> > > I'd say just it is not a bug. I have no idea if we should support it,
> > > but it depends on our policy.
> >=20
> > But why is it so bad to allow it? Other systems do...
>=20
> Because we are NetBSD, not Linux (or something else).
> I suppose being POSIX compliant is our policy:
> http://www.netbsd.org/Goals/standards.html

Okay, good reason :)

I've been thinking about it... we would include that feature in the kernel
but issue a printf() when a call to mkdir is done with trailing slashes.
That way we would know which programs are failing and fix them if we can,
but we get them working in the meantime.

Another solution would be to add that hack to the compat_linux, so we get
linux apps working (as that is valid in linux).

Thanks.

> ---
> Izumi Tsutsui
> tsutsui@ceres.dti.ne.jp

--=20
Of course it runs NetBSD - http://www.netbsd.org
HispaBSD member - http://www.hispabsd.org
Julio Merino <jmmv@hispabsd.org>

--+HP7ph2BbKc20aGI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8zE52zz00ZOPKycwRAmPYAJ9VAk/UCXWx493z/ZU/67GIcAS2LQCgiR/G
uW2bL5EhZWVZD2m/7/Cbkcs=
=YGup
-----END PGP SIGNATURE-----

--+HP7ph2BbKc20aGI--