Re: getting the running patch level
>> Hi all,
>> I would like to know if there is a command or a way to retrieve the "pat=
ch
>> level" (the handbook defines it "builds names" like 7.0-RELEASE-p1) of t=
he
>> 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-p=
4:
>> ...
>> but this give me no info about the current system; I tried a brief searc=
h 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.
--=20
=D0=9E=D0=BB=D0=B5=D0=B3 =D0=9F=D0=B5=D1=82=D1=80=D0=B0=D1=87=D0=B5=D0=B2
_______________________________________________
freebsd-security@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 4 之 28 篇):