kernel compiling questions

Ruben de Groot mail25 at
Thu Jun 11 10:01:47 UTC 2009

On Tue, Jun 09, 2009 at 05:19:01PM -0700, Jason Helfman typed:
> Hi.
> I am trying to figure out how when making the kernel that the number is
> incremented.
> For example my system reads:
> FreeBSD 7.2-RELEASE #4
> I have my own kernel that works, however I would like to have it read this:
> FreeBSD 7.2-RELEASE #0
> Is there a way to resolve this?

If you build your kernel (#4) using "make buildkernel":

cd /usr/obj/usr/src/sys/${KERNCONF}
vi vers.c     // edit SCCSSTR and VERSTR

cp kernel /boot/kernel


More information about the freebsd-questions mailing list