Date: Wed, 01 Jan 2014 10:50:26 -0500 From: Jim Ohlstein <jim@ohlste.in> To: Chris Stankevitz <chrisstankevitz@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: uname -r: release level Message-ID: <52C43942.2020708@ohlste.in> In-Reply-To: <CAPi0pst37XD7X7n3d8oSV4YdETNj-2hO6dmF1YdX=vCZzjq6jw@mail.gmail.com> References: <CAPi0pst37XD7X7n3d8oSV4YdETNj-2hO6dmF1YdX=vCZzjq6jw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/1/14, 2:25 AM, Chris Stankevitz wrote: > Hi, > > I just setup my freebsd machine and performed a "freebsd-update fetch > install" which leads me to believe I am now running 9.2-RELEASE-p2. > Of course I wanted to see for myself using "uname -r" which reports my > "release level". Looking at http://www.freebsd.org/security/ it seems FreeBSD-9.2 was released on 9/30/2013. According to http://www.freebsd.org/security/advisories.html there was only one security advisory since then, on 11/19/2013 - http://www.freebsd.org/security/advisories/FreeBSD-SA-13:14.openssh.asc. That only affected users of the 10 branch. The p1 and p2 patch levels were applied to the 9.2 RC's only, so far as I can see at http://www.freebsd.org/security/advisories/FreeBSD-SA-13:12.ifioctl.asc and http://www.freebsd.org/security/advisories/FreeBSD-SA-13:13.nullfs.asc. > > "uname -r" is reporting 9.2-RELEASE which is not quite what I was > expecting (I was expecting a p2 suffix). That doesn't interest me too > much, but this does: > > By what mechanism does "uname -r" determine my "release level"? sysctl kern.osrelease # ktrace -ty uname -r ... # kdump 75158 uname SCTL "kern.osrelease" # ktrace -ty uname -a ... # kdump 75215 uname SCTL "kern.ostype" 75215 uname SCTL "kern.hostname" 75215 uname SCTL "kern.osrelease" 75215 uname SCTL "kern.version" 75215 uname SCTL "hw.machine" > > Thank you, > > Chris > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Jim Ohlstein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52C43942.2020708>