Slashdot Mirror


OpenBSD Loadable Kernel Modules

LiquidPC writes: "deadly.org has a very thorough tutorial on LKM in OpenBSD, by Patrick Werner. You can check it out here. It gives you examples on writing LKMs and tells you why using them isn't the best idea."

1 of 15 comments (clear)

  1. Re:LKMs are crap by _peter · · Score: 3, Insightful
    LKMs in OpenBSD aren't intended to cut the size of the kernel down, as with Linux.

    From LKM(4):

    Loadable kernel modules allow the system administrator to dynamically add and remove functionality from a running system. This ability also helps software developers to develop new parts of the kernel without constantly rebooting to test their changes.

    I get the idea that they're used much more in the second capacity than in the first; the default kernel (which users are strongly advised not to stray from) doesn't even enable Loadable Kernel Modules.