[Ukfreebsd] uname -r issue

O'Connor, Kevin KevinO'Connor at merseyfire.gov.uk
Fri Jun 19 07:46:51 BST 2015

> -----Original Message-----
> From: Ukfreebsd [mailto:ukfreebsd-bounces at uk.freebsd.org] On Behalf Of
> James O'Gorman
> Sent: 18 June 2015 21:19
> To: UK FreeBSD Users
> Subject: Re: [Ukfreebsd] uname -r issue
> On Thu, Jun 18, 2015 at 04:26:25PM +0100, RW wrote:
> > On Thu, 18 Jun 2015 15:13:54 +0000
> > O'Connor, Kevin wrote:
> >
> > > I suppose it's remotely possible that as the generic kernel didn't
> > > need a rebuild it's still reporting the old one. I shall do a manual
> > > rebuild and see if that resolves the behaviour.
> >
> > There was some talk of changing the way this works, but otherwise it's
> > really common. A lot of point releases don't touch the kernel.
> /bin/freebsd-version was introduced to report the exact patch level. As
> others have stated, uname will only report the kernel patch level.
> % uname -r
> 10.1-RELEASE-p10
> % freebsd-version
> 10.1-RELEASE-p13
> James

So basically the documentation in the hand book is wrong when it states "However, freebsd-update will always update /usr/src/sys/conf/newvers.sh. The current patch level, as indicated by the -p number reported by uname -r, is obtained from this file". 

I wasn't aware of freebsd-version but that does give me exactly what I need. 


This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.
If you have received this e-mail in error please notify the originator of the message. 

Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Merseyside Fire & Rescue Service, (MFRS).

Incoming and outgoing emails may be monitored in line with current legislation.

Steps have been taken to ensure that this email and attachments are free from any virus.  In keeping with good computing practice the recipient should ensure they are actually virus free.


More information about the Ukfreebsd mailing list