Linux kernel modules

Source: Internet
Author: User

Introduction to a kernel module

Some of the functional modularity is the idea of micro-core, where the modularity is mainly to reduce the size of the kernel, and depending on the host can allow users to customize the loading module, to facilitate the less common hardware driver to get loaded without wasting space

The directory for general storage modules is/lib/modules/$ (uname R)/kernel

Two commands of the management module

Lsmod: Lists the currently loaded modules, containing dependencies

Modinfo mod_name: Display Module details

Manually loading the module, there may be a dependency limit

Insmod/module/about/path understood as insert MODULE, you need to specify the path

Rmmod mod_name Delete a module

Automatic Processing dependencies:

Modprobe mod_name automatically loads a module, ensuring that the service script exists in the/etc/init.d/* corresponding directory

modprobe r mod_name Delete a module

Linux kernel modules

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.