Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 2000 10:12:28 +0100
From:      Szilveszter Adam <sziszi@petra.hos.u-szeged.hu>
To:        stable@FreeBSD.ORG
Subject:   Re: Auto increment on kernel version
Message-ID:  <20001118101228.A19364@petra.hos.u-szeged.hu>
In-Reply-To: <00111820013502.09278@shalimar.net.au>; from count@shalimar.net.au on Sat, Nov 18, 2000 at 08:01:35PM %2B1100
References:  <00111820013502.09278@shalimar.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 18, 2000 at 08:01:35PM +1100, Zero Sum wrote:
> 
> Minor problem...
> 
> I have rebuilt my system several times recently.
> 
> Yet uname -a gives me....
> 
> FreeBSD shalimar.net.au 4.2-BETA FreeBSD 4.2-BETA #0: Thu Nov 16 22:32:43
> EST 2000     root@shalimar.net.au:/usr/obj/usr/src/sys/SHALIMAR  i386
> 
> Why has the #0 not incremented?  What is supposed to increment this and
> where is it recorded?

It is increased if you reuse the same kernel config file for kernel
building. So, if you edit the file each time or do some other thing to it
that causes the mtime (modification time) or size or whatever to change, it
will no longer be recognized as unmodified and the number will stay at 0.
There is nothing in 'make buildworld' or 'installworld' that would change
it. 

Of course, if you do not rebuild your kernel, it will not change either:-)

Try it now: Do not edit the config file and simply rebuild the kernel.
When you reboot, the number should be at 1.

Hope this helps....
-- 
Regards:

Szilveszter ADAM
Szeged University
Szeged Hungary


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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