getting the running patch level
henke.andersen at gmail.com
Thu Aug 9 15:43:47 UTC 2012
You can find the current patch level in /usr/src/sys/conf/newvers.sh ex:
uname -v on the same server:
FreeBSD 8.3-RELEASE #0: Mon Apr 9 21:23:18 UTC 2012
root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
If I read the handbook correctly this should always be true on systems
On Thu, Aug 9, 2012 at 8:02 AM, cronfy <cronfy at gmail.com> wrote:
> >> Hi all,
> >> I would like to know if there is a command or a way to retrieve the
> >> level" (the handbook defines it "builds names" like 7.0-RELEASE-p1) of
> >> running system: just an example, if I run:
> >> # freebsd-update fetch
> >> No updates needed to update system to 9.0-RELEASE-p4
> >> or:
> >> ...
> >> The following files will be updated as part of updating to
> >> ...
> >> but this give me no info about the current system; I tried a brief
> search in
> >> config file but no luck;
> >> again the question is:
> >> is there a way to determine for a running server which "patch level" is
> >> currently at ?
> > uname -a
> Unfortunately there is no trivial way. uname -a will show you correct
> patch level only if kernel was changed at this patch level.
> So the only way is to see what updates freebsd-update offers to you
> and try to guess, on which patch level you are on now.
> Олег Петрачев
> freebsd-security at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-security-unsubscribe at freebsd.org
More information about the freebsd-security