Rebuild only ports with kernel modules

I am using 9-STABLE on my laptop, and I get to rebuild world and kernel quite often (at least once a month). As far as I know, there is no need to rebuild all the ports after an update within the same branch, but ports that install kernel modules often do (such as VirtualBox).

Is there a way to list only ports that install kernel modules so I can rebuild only them?
 
Thank you for pointing me to this useful information. However, this does not answer my original question: how do I know which ports to list as PORTS_MODULES?
 
In /boot/modules/ I have those files:

linker.hints
nvidia.ko
vboxdrv.ko
vboxnetadp.ko
vboxnetflt.ko


How come nothing related to fuse is present there, when I have fusefs-kmod installed, and that should be kernel module for fuse?
 
If I read the Makefile correctly, the kernel module is placed in /usr/local/modules/ for some reason. I can see the point from a base OS standpoint (it's a third-party add-on), but not from a booting into the system standpoint (where /boot should be the starting point). Then again, FUSE is probably loadable on a running system? Anyway, it is what it is.
 
Back
Top