Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Nov 2005 18:32:00 +0200
From:      Ruslan Ermilov <ru@freebsd.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        cvs-src@freebsd.org, ceri@submonkey.net, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/usr.sbin/config configvers.h
Message-ID:  <20051104163200.GZ63539@ip.net.ua>
In-Reply-To: <20051104.091549.55832472.imp@bsdimp.com>
References:  <20051104093436.GI29387@submonkey.net> <20051104105601.GV63539@ip.net.ua> <20051104120642.GL29387@submonkey.net> <20051104.091549.55832472.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--ZljC5FVPx7rxDQQ8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Nov 04, 2005 at 09:15:49AM -0700, M. Warner Losh wrote:
> In message: <20051104120642.GL29387@submonkey.net>
>             Ceri Davies <ceri@submonkey.net> writes:
> : On Fri, Nov 04, 2005 at 12:56:01PM +0200, Ruslan Ermilov wrote:
> : > On Fri, Nov 04, 2005 at 09:34:36AM +0000, Ceri Davies wrote:
> : > > On Fri, Nov 04, 2005 at 09:18:58AM +0200, Ruslan Ermilov wrote:
> : > > > On Fri, Nov 04, 2005 at 04:16:44AM +0000, Warner Losh wrote:
> : > > > > imp         2005-11-04 04:16:44 UTC
> : > > > >=20
> : > > > >   FreeBSD src repository
> : > > > >=20
> : > > > >   Modified files:
> : > > > >     usr.sbin/config      configvers.h=20
> : > > > >   Log:
> : > > > >   since nocpu isn't used in the kernel config base, we don't ne=
ed to
> : > > > >   bump the version.  Peter Wemm, John Baldwin and I hammered th=
is out
> : > > > >   after the last time I needlessly incremented the version.
> : > > > >  =20
> : > > > >   Revision  Changes    Path
> : > > > >   1.38      +1 -1      src/usr.sbin/config/configvers.h
> : > > > >=20
> : > > > Our users wanted to *use* the "nocpu" directive in their configs
> : > > > that are based on GENERIC (GENERIC is included), hence I bumped
> : > > > config(8).  Otherwise, one day some would scream that "nocpu"
> : > > > doesn't work for them, because they're using the older version
> : > > > of config(8).
>=20
> I will agree that bumping the config version will force users to
> install a new config.  At the same time, a new config cannot be used
> for old kernels, like the ones in 6.0.  Since this is the only
> incompatibility between 6.0 and current, it seemed a little
> gratuitous.
>=20
> There's no documentation about what features are in what versions of
> config.  If you don't bump the version, then we can MFC these changes
> and users can use config in 6.x.  A nit is that there's no nocpu in
> config.5.
>=20
> My position is that the inconvenience of having multiple versions of
> config is worse than the minor confusion when nocpu doesn't work.
>=20
> : > > I'd agree that the Makefiles don't need to be bumped, as they don't
> : > > actually require the new config, but config has new functionality a=
nd
> : > > the version should probably be bumped in the binary.
> : > >=20
> : > You cannot just bump it in one place, the version requirement doesn't
> : > understand >=3D, only =3D.
> :=20
> : Oh.  Insert obvious next question here. :)
> : What happens to those people who have already installed 600004 then?
>=20
> They will need to install a new config if they want to build a new
> kernel.  Maybe it is time to change the versioning so that multiple
> versions will work.
>=20
This is all not needed if you're using an official upgrade method:
buildworld/buildkernel, which will take care of updating config(8)
for you.


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--ZljC5FVPx7rxDQQ8
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDa40AqRfpzJluFF4RAk8AAKCSFiXiU1fmKoc4UWH8Pi9r99/IqgCeK6qL
oejSro3qMnPoJSPAg4OfyUw=
=s3SG
-----END PGP SIGNATURE-----

--ZljC5FVPx7rxDQQ8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051104163200.GZ63539>