Hacker News new | ask | show | jobs
by fuj 1703 days ago
Isn't this the case for every major OS? I know FreeBSD device drivers can be (un)loaded on-the-fly. Same for MacOS. I assume it's also possible in Linux(?)
3 comments

It is. I believe you use

  modprobe -r kernel_module_name 
to unload a kernel module and

  modprobe kernel_module_name 
to load it.
Linux lets you disable dynamic modules. OpenBSD removed support for them some years ago.
macOS doesn't let you load kexts anymore since it's less important with drivers moving to userspace.