Date: Wed, 18 Jul 2007 17:35:20 +0200 From: "n j" <nino80@gmail.com> To: "User Questions" <freebsd-questions@freebsd.org> Subject: Re: freebsd-update question Message-ID: <92bcbda50707180835n78a0f027l2e71bf57fc30b4c7@mail.gmail.com> In-Reply-To: <20070718123845.GB42311@slackbox.xs4all.nl> References: <92bcbda50707180446p63b91194m5850c19c9996ef5@mail.gmail.com> <20070718123845.GB42311@slackbox.xs4all.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
> The cause for this confusion is the fact that patches 5 and 6 were for a > userland utility (file) and a library (libarchive), not for the kernel. > So for these patches, the kernel (which contains the release-level > string) isn't rebuilt and so it isn't updated. > > 1) change the update mechanism to update the kernel(s) version string Roland, thank you very much for the information. Digging a little deeper, I discovered two sysctl variables that contain this information: kern.osrelease: 6.2-RELEASE-p4 kern.version: FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:40:53 UTC 2007 And the sysctl(8) man page reveals: Name Type Changeable kern.osrelease string no kern.version string no meaning that it is probably impossible to change these values without indeed recompiling the kernel. Regards, -- Nino
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?92bcbda50707180835n78a0f027l2e71bf57fc30b4c7>