getting the running patch level

Roberto robertot at redix.it
Thu Aug 9 13:38:53 UTC 2012


just a try on the server:

--------------
% uname -a
FreeBSD xxxx.yyyyy 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
2012     root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  zzzz
%
--------------

and with the update command:
--------------
# freebsd-update fetch
...
No updates needed to update system to 9.0-RELEASE-p4
--------------

so I think uname will NOT give me enough info on the running os patchlevel
(p4),  maybe uname could be useful when the kernel itself is updated in the
update process and the system rebooted;
or I am probably missing something ...

regards
Roberto

On Thu, August 9, 2012 13:44, Károly Arnhoffer wrote:
> Hi,
>
> As I can remember
> # uname -a
> provides this information.
>
> Regards,
> Karoly
>
> -----Original Message-----
> From: owner-freebsd-security at freebsd.org
> [mailto:owner-freebsd-security at freebsd.org] On Behalf Of Roberto
> Sent: Thursday, August 09, 2012 11:44 AM
> To: freebsd-security at freebsd.org
> Subject: getting the running patch level
>
>
> Hi all,
> I would like to know if there is a command or a way to retrieve the "patch
> level" (the handbook defines it "builds names" like 7.0-RELEASE-p1) of the
> 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 9.0-RELEASE-p4:
> ...
>
> 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 ?
>
> thanks
> Roberto
>
> _______________________________________________
> freebsd-security at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-security
> To unsubscribe, send any mail to "freebsd-security-unsubscribe at freebsd.org"
>



More information about the freebsd-security mailing list