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

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Apr 15), Pieter de Goeje said:
> 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.

Actually, I meant /usr/src/sys/<arch>/compile/<kernelname>/version
since I still build my kernels the "old" way.  It also means that the
version file never gets deleted.  After ~10 years on this filesystem,
I'm up to #434 :)

-- 
	Dan Nelson
	dnelson@allantgroup.com



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