Proper way to know FreeBSD patch version

Is there any way to know FreeBSD patch version other than checking newvers.sh?
uname only returns kernel version, not userlands'
Opening and viewing newvers.sh seems....not sophiscated, I think.
 
AFAIK there's no real way to check the versions of the userland binaries. Probably the only way is to check the CVS IDs on each source file.
 
... which doesn't give much information if you update sources every day (as I do) but only install them once every other month or so ;)
 
Thank guys.

I meant the way to know "patch" version after freebsd-update.
Especially which includes userland-binaries updates.
 
I think /var/db/freebsd-update/tag is the only file that lists the patch level (3rd/4th field). I think it gets updated by 'fetch', so if you haven't installed the updates yet, this one will be off, and if you roll back your installation it will be off as well ..
 
Back
Top