« Return to Thread: OpenBSD version / build question

Re: OpenBSD version / build question

by Hugo Villeneuve-2 :: Rate this Message:

Reply to Author | View in Thread

On Tue, Dec 04, 2007 at 05:41:28PM -0800, new_guy wrote:
> > 375, 410, 468:
> > Are these build numbers?
>
> Yes.
>
> So, the current stable kernel is 0?
>
> OpenBSD amdthunder.home.local 4.2 GENERIC#0 i386
> OpenBSD black.cirt.vt.edu 4.2 GENERIC#0 i386

When you build a kernel, a new vers.c file is created by running
/usr/src/sys/conf/newvers.sh.

That script is also responsible for creating a "version" file that
increments every time you build a kernel in the same directory.

You too could have high build number if you were never to delete
the kernel build directory (by default instruction
/usr/src/sys/arch/$(machine)/compile/GENERIC) or being carefull about
keeping the "version" file.

--
Hugo Villeneuve <hugo@...>
http://EINTR.net/ 

 « Return to Thread: OpenBSD version / build question