tailieunhanh - Red Hat Linux 7.2 Bible, Unlimited ed phần 5

Tài liệu - thư mục / usr/src/ chứa rất nhiều tập tin văn bản đơn giản mô tả các khía cạnh khác nhau của hạt nhân và các trình điều khiển liên quan. Quan tâm đặc biệt là các tập tin (trong đó mô tả làm thế nào để làm việc với các mô-đun) | Documentation The usr src Documentation directory contains lots of plain-text files describing different aspects of the kernel and related drivers. Of particular interest is the file which describes how to work with modules and the file which contains all the help files hardware drivers . kernel-doc The kernel-doc software package available on CD-2 of the Red Hat Linux distribution contains a large set of documents describing the kernel and drivers. These documents are stored in the usr share doc kernel-doc directory. After modules have been built they are installed in the lib modules directory. The name of the directory is based on the current release number of the kernel. Modules that are in that directory can then be loaded and unloaded as they are needed. Note In previous releases Red Hat Linux stored modules in the lib modules directory rather than the lib moduels directory. This structure allows you to store modules on your system that relate to different kernel versions you may be running. Listing loaded modules To see which modules are currently loaded into the running kernel on your computer you can use the lsmod command. Here is an example lsmod Module Size Used by sr_mod 15120 0 autoclean es1371 26784 0 autoclean ac97_codec 8704 0 autoclean es1371 gameport 1920 0 autoclean es1371 soundcore 4112 4 autoclean es1371 binfmt_misc 6272 1 nuscsitcp 17200 0 unused autofs 10816 1 autoclean tulip 46400 1 ipchains 36960 0 unused ide-scsi 8192 0 scsi_mod 93568 3 sr_mod nuscsitcp ide-scsi hid 18160 0 unused input 3456 0 hid usb-uhci 21440 0 unused usbcore 50432 1 hid usb-uhci ext3 50656 2 jbd 39376 2 ext3 This output shows a variety of modules that have been loaded on a Linux system. The modules loaded on this system include several to support the Ensoniq 1371 sound card that is installed es1371 ac97_codec gameport and soundcore . There are also modules to support the IDE CD-ROM drive that runs in SCSI emulation on this .

TỪ KHÓA LIÊN QUAN