How can i know if the freebsd kernel need to be updated ?

Now i use the following commands to maintain my freebsd box.
Code:
>portsnap fetch update
>pkg_version -vIL=
>portupgrade -R xxx

It works great for software installed through ports. However, how can i know if the kernel needs to be updated ?

Sincerely!
 
The easiest way if you are using binary updates is to add the following to root's crontab
Code:
# Check updates for freebsd daily at 3:30
30      3       *       *       *       /usr/sbin/freebsd-update cron

If updates are found it will send an email to root about it, and then you know your base system(wich includes the kernel) needs updating.
 
gilinko said:
The easiest way if you are using binary updates is to add the following to root's crontab
Code:
# Check updates for freebsd daily at 3:30
30      3       *       *       *       /usr/sbin/freebsd-update cron

If updates are found it will send an email to root about it, and then you know your base system(wich includes the kernel) needs updating.
But the kernel is compiled by myself.
 
Generic and custom kernel can co-exist:

The freebsd-update utility can automatically update the GENERIC kernel only. If a custom kernel is in use, it will have to be rebuilt and reinstalled after freebsd-update finishes installing the rest of the updates. However, freebsd-update will detect and update the GENERIC kernel in /boot/GENERIC (if it exists), even if it is not the current (running) kernel of the system.
 
Back
Top