Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jun 2004 10:09:29 -0700
From:      Kent Stewart <kstewart@owt.com>
To:        freebsd-questions@freebsd.org
Cc:        Paul Hamilton <paul@bdug.org.au>
Subject:   Re: script entry to finding the version after a cvsup
Message-ID:  <200406011009.29082.kstewart@owt.com>
In-Reply-To: <AGEHIFHGNEMPFNCPLONMAEDBGHAA.paul@bdug.org.au>
References:  <AGEHIFHGNEMPFNCPLONMAEDBGHAA.paul@bdug.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 01 June 2004 06:55 am, Paul Hamilton wrote:
> Hi,
>
> I have written a basic script to cvsup, buildworld and install the
> new kernel-world etc.  I have introduced some basic logging, so I can
> track the time taken.  Now I would like to track the version it was
> before the upgrade (ie. uname -r ), and what it is after the upgrade.
>  Now, I can't use uname -r, because the server has to be restarted so
> it can pick up the new kernel etc.
>
> So my question is,  where can I find a entry in the downloaded
> kernel/world source files that says that it is FreeBSD 4.9 p9 etc.  I
> can't use stable-supfile, because it only records the 'branch' that
> is being upgraded, not the full version.
>
> Any clues?

Look at
/usr/src/sys/conf/newvers.sh

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



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