Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 2013 21:13:56 -0500
From:      Mark Felder <feld@feld.me>
To:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD-update?
Message-ID:  <1366856036.26717.140661222428210.67B5DAA6@webmail.messagingengine.com>
In-Reply-To: <517889BF.3020205@herveybayaustralia.com.au>
References:  <201304242307.r3ON7AEg039368@chilled.skew.org> <517889BF.3020205@herveybayaustralia.com.au>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Wed, Apr 24, 2013, at 20:41, Da Rock wrote:
> On 04/25/13 09:07, Mike Brown wrote:
> > Da Rock wrote:
> >> sysctl kern.version
> > For me, that's the same info as in uname -a.
> >
> > Try this:
> >
> > grep -v # /usr/src/sys/conf/newvers.sh | head -4
> That shows even less. But the point of the OP was having a file in etc 
> with the info on version, which I fell could be redundant given the 
> excessive detail available in sysctl which is what it is meant for. 
> uname actually refers to the sysctl as a neat command for a shell user, 
> doesn't it?
>

The point is that the uname and sysctl output is inaccurate. If the
latest release is -p6 and the kernel hasn't been touched since -p4, both
uname and the sysctl only show -p4. It's impossible to tell otherwise
that the system is really -p6 if you don't have /usr/src/.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?1366856036.26717.140661222428210.67B5DAA6>