reload kernel without reboot?
freebsd at edvax.de
Sun Jun 14 16:30:37 UTC 2015
On Sun, 14 Jun 2015 13:24:59 +0430, takCoder wrote:
> my question is: Is there a way to reload freebsd kernel in which i don't
> need to restart to apply the changes?
Probably not, because the kernel is the first thing the
OS boot mechanism will load, and this is required at the
earliest stage of OS booting for the kernel to work as
intended. What you would need is to change the kernel
binary content (after source change and compile run)
both on disk and in memory, with all its location references
and dependency resolutions so the result parts will work
consistently again. I'd say that's a very hard task, nearly
However, if you are able to move the things you want to
"dynamically load and unload" into kernel modules - there
might be a solution for you. Kernel modules can be dealt
with easily using kldload and kldunload. However, the
kernel itself cannot be unloaded and reloaded with those
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions