What's the #-number from uname -a?

Pieter de Goeje pieter at degoeje.nl
Sun Apr 15 12:33:00 UTC 2007


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



More information about the freebsd-questions mailing list