Linux source folder structure rendering

Source: Internet
Author: User

1.arch folders:-related to the code stored on different platforms, each platform is differentiated by different folders.

Alpha Platform

ARM Platform

ARV32 Platform

X86 Platform

2.drivers folder: The folder where the driver is stored. Different drivers are differentiated by different folders.

Ftape: Tape Drive

Hfmodem: Radio Device driver

Joystick: Joystick Driver

Paride: Support for IDE devices from the same port

CDROM: Optical drive driver

Char: Character device driver

FC4: Fiber Optic device driver

Misc: Miscellaneous Device drivers

NET: Nic Driver

PCI:PCI Bus Driver

SCSI:SCSI Device Driver

Sound: Audio Device driver

Usb:usb Serial Bus Driver

Video: Card device driver

Block: Device driver

3.fs folder: Store the relevant code for all the file systems supported by Linux, and different file systems are differentiated by different folders.

Ext2:linux supported Ext2 File system

NFS: A Network File system

Proc:/proc File System

A file system for Ufs:linux

4. Other folders

1). Include folder: Most of the header files that are required to compile the kernel are stored. In the Include/linux folder, the header files that are stored are platform-independent. Platform-related storage in different folders of the relevant platform.

2). Init folder: The initialization code that holds the kernel, including the system-initiated main () function.

3). IPC folder: Related code that holds interprocess communication

4). Kernel folder: Store the most core code, manage the kernel's related code, such as process scheduling, memory management, etc.

5). lib Folder: Store Library Module code

6). mm Folder: Storage of CPU-independent memory management code, for different platform code with different folders to distinguish.

7). Net Folder: Code that holds various network protocols

8). Scripts folder: The relevant script file that holds the configuration kernel

9). Security folder: A SELinux (a mandatory access control system for the Linux kernel) module

). Sound folder: Frequently used audio device drivers

one). usr folder: A cpio (Cpio is a utility for creating and restoring backup files. It can add, unlock files in the Cpio or tar backup file. )

). Block folder: Block device driver.

). Crypto folder: Frequently used encryption and compression algorithms.

14). Documentation folder: The explanation document for the kernel part function.

15). Copying file: GPL copyright notice file.

16). Credits file: Kernel developer list

17). Kbuild files: Scripts to compile the kernel

18). maintainers file: List of maintenance personnel

19). Makefile file: The first makefile file, the organization core for each module, the contact between the modules, the compiler compiles the kernel according to this file.

20). Readme File: Introduction kernel and method of compiling

21). Reporting-bugs file: Some content about the bug.


Linux source folder structure rendering

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.