Re: How to change kernel version tag?



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
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: How to change kernel version?
    ... Yuan, Jue wrote: ... 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. ...
    (freebsd-hackers)
  • Re: Where is mfsroot.flp ?
    ... Yuan, Jue wrote: ... What I really want is to get a mfsroot to embed into a FreeBSD kernel, since kernel has option MD_ROOT to support this. ...
    (freebsd-questions)
  • Re: How to change kernel version?
    ... On Friday 25 August 2006 22:27, Daniel Gerzo wrote: ... Could I change the kernel version tag manually? ... Yuan, Jue @ http://www.yuanjue.net ...
    (freebsd-current)
  • Re: How to change kernel version tag?
    ... Yuan, Jue wrote: ... Could I change the kernel version tag manually? ... This .signature sanitized for your protection ...
    (freebsd-hackers)
  • Re: wifi ath
    ... On Sunday 16 April 2006 21:25, dick hoogendijk wrote: ... and recompile. ... enable device wlan and an in the kernel would do the whole work:) ... Yuan, Jue @ www.yuanjue.net ...
    (freebsd-questions)