Join Nostr
2026-07-30 11:09:54 UTC

nixCraft 🐧 on Nostr: The key to knowing if a FreeBSD box reboot is needed lies in comparing the installed ...

The key to knowing if a FreeBSD box reboot is needed lies in comparing the installed kernel version with the currently running kernel version. How do you do that?

1 Get the version of the running kernel:
`freebsd-version -r`

2 Get installed FreeBSD kernel version:
`freebsd-version -k`

3 Since 14.4-RELEASE-p7 & 14.4-RELEASE-p8 are different versions, reboot it
`sudo reboot`

More here if you want to do this in automated way with ansible https://www.cyberciti.biz/faq/freebsd-determine-if-a-system-reboot-is-necessary/

#unix #freebsd