Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2006 22:28:45 +0800
From:      "Yuan, Jue" <yuanjue02@gmail.com>
To:        Roman Kurakin <rik@inse.ru>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: How to change kernel version tag?
Message-ID:  <200608252228.45724.yuanjue02@gmail.com>
In-Reply-To: <44EF0A13.80008@inse.ru>
References:  <200608251958.09341.yuanjue02@gmail.com> <44EF0A13.80008@inse.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 25 August 2006 22:32, Roman Kurakin wrote:
> Yuan, Jue wrote:
> > Hi all.
> >
> > Could I change the kernel version tag manually? say, I have a kernel
> > which is 7.0-CUREENT, but for some reasons I wanna it be something like
> > 6.1-RELEASE, while the kernel itself does't change from 7.0-CURRENT to
> > 6.1-RELEASE. All I want is the change of tag. For example, if this works,
> > then when I type "uname -a" in console, I would get "6.1-RELEASE ..."
> > instead of "7.0-CURRENT ...".
>
> You jast want to change the uname output, or some software checks kernel
> version?
>
I think the uname output is enough. I have found __FreeBSD_version 
in /sys/sys/param.h, and was told the file /sys/conf/newvers.sh. So I guess 
the problem has already solved. :-)

Anyway, thanks all the same.

-- 
Best Regards
Yuan, Jue @ http://www.yuanjue.net



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