How to change kernel version tag?

Yuan, Jue yuanjue02 at gmail.com
Fri Aug 25 14:26:42 UTC 2006


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


More information about the freebsd-hackers mailing list