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
Published at
2026-07-30 11:09:54 UTCEvent JSON
{
"id": "171f907d1f51cbbbc5b578fcb9e98bc7b18cffaf7e72b17f6ad5e9727065bca7",
"pubkey": "cc3790930722bfa73e28f9a2aa0832706884305cb80687e20927c7960db99185",
"created_at": 1785409794,
"kind": 1,
"tags": [
[
"t",
"unix"
],
[
"t",
"freebsd"
],
[
"imeta",
"url https://files.mastodon.social/media_attachments/files/117/008/605/010/416/560/original/4779e08afc8ebaa3.png",
"m image/png",
"dim 1324x662",
"blurhash U270P:%h=|=}^Rxv%2$+0yv}NbM|9@rXR*NG"
],
[
"proxy",
"https://mastodon.social/users/nixCraft/statuses/117008616263679432",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.ditto.pub"
]
],
"content": "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? \n\n1 Get the version of the running kernel:\n`freebsd-version -r`\n\n2 Get installed FreeBSD kernel version:\n`freebsd-version -k` \n\n3 Since 14.4-RELEASE-p7 \u0026 14.4-RELEASE-p8 are different versions, reboot it\n`sudo reboot`\n\nMore 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/\n\n#unix #freebsd\n\nhttps://files.mastodon.social/media_attachments/files/117/008/605/010/416/560/original/4779e08afc8ebaa3.png",
"sig": "fd99f0a80c02be3ccd93e494f85c66e32cf897ba612194ab7b297887e72320e7568de16fd2197aca62f6b83cf7df3d183417172cfce2b4069ad7cbdb87a22edd"
}