Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Apr 2007 14:32:32 +0200
From:      Pieter de Goeje <pieter@degoeje.nl>
To:        freebsd-questions@freebsd.org
Cc:        Dan Nelson <dnelson@allantgroup.com>, Roger Olofsson <raggen@passagen.se>
Subject:   Re: What's the #-number from uname -a?
Message-ID:  <200704151432.33252.pieter@degoeje.nl>
In-Reply-To: <20070415072927.GA43673@dan.emsphone.com>
References:  <4621D0EF.9020802@passagen.se> <20070415072927.GA43673@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 15 April 2007, Dan Nelson wrote:
> In the last episode (Apr 15), Roger Olofsson said:
> >  Yesterday I csup:ed 2 machines to latest using same cvsup-server for
> >  both.  After the standard procedure of doing:
> >
> >  make buildworld
> >  make buildkernel
> >  make installkernel
> >  reboot
> >  make installworld
> >
> >  ..on both machines, one says 'FreeBSD 6.2-STABLE #2' and the other says
> >  'FreeBSD 6.2-STABLE #6'.
> >
> >  What does the number after the #-sign mean?
>
> It's the number of times you have rebuilt your kernel.  The value is
> stored in /usr/src/sys/<arch>/<kernelname>/version.
I think you meant /usr/obj/usr/src/sys/<kernelname>/version. If you 
wipe /usr/obj, the number will be reset.

Cheers, 
Pieter




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