Subject: Re: g/c mountcompatnames[] ?
To: =?X-UNKNOWN?Q?Jarom=EDr_Dolecek?= <jdolecek@netbsd.org>
From: Bill Studenmund <wrstuden@zembu.com>
List: tech-kern
Date: 06/27/2001 16:31:03
On Wed, 27 Jun 2001, Jarom=EDr Dolecek wrote:

> I though about this one a bit more and agree that what I proposed
> is not a good thing. It's pointless to break backward compatibility
> needlessly.
>=20
> The way it could be done to address my concern and still retain
> backwards compatibility could be as this:
>=20
> Keep the compat option, but make the vfs_sysctl() use array defined
> with CTL_VFS_NAMES, instead of using mountcompatnames[]. I'd leave
> only filesystems supported by NetBSD 0.9 and 4.3BSD on the
> mountcompatnames[] list, and make the variable static. The array
> contents would be freezed and not to be changed past that moment.
> The array itself would be only defined #ifdef COMPAT_09 || COMPAT_43,
> and be static. CTL_VFS_NAMES would get new entries if one adds
> a filesystem which supports sysctl, old entries would be kept of course. =
=20
>=20
> This way the backwards compatibility would be retained, and
> the issue I had with this is solved too.
>=20
> Opinions?

Sounds good.

Take care,

Bill