2017.10.10 Marco Linux Learning note--linux file system

Source: Internet
Author: User

Root file System (FOOTFS): root filesystem

FHS: Filesystem Hierarchy Standard (file system directory standards) abbreviation, most Linux version of this file organization, similar to the Windows operating system in the C-disk file directory, FHS tree structure to organize files. FHS defines the purpose of each region in the system, the minimum required composition of the files and directories, and also gives the exception handling and contradictory processing.

directory under the root directory:

/boot : Boot file directory, such as kernel file (vmlinuz), and boot loader (grub,bootloader)

/dev : Device files

device files:

block devices: Random access, data blocks

character devices: Linear access, by character

device number: Main device number (major) and secondary device number (minor)

/etc: Configuration file (plain text file)

Home directory for users, the home directory of each user is usually the default of/home/username

/root: Administrator's home directory;

/lib: Basic Shared library file

     Static Library,    . A

Dynamic library, . dll,. So (Shared object)

/lib/modules: Kernel module files

/LIB64: storage location for secondary shared library files dedicated to x86 or x64 systems

/media: mount point directory, mobile device CDROM USB

/MNT: mount point directory, additional temporary file system

/OPT: Optional directory, installation directory for third-party programs

/proc: Pseudo file system, kernel mapping file

/sys: Pseudo file system, property mapping file related to hardware device

/tmp: Temp file,/var/tmp

/var: a variable file

Cache: The application caches the data directory

LIB: Application state information Database

Local: Dedicated to storing variable data for applications under usr/local;

Lock: Lock file

LOG: Logs directory file

OPT: dedicated to storing variable data for applications under/OPT;

Run: Running process-related data, typically used to store PID files for a process

Spool: Application Data Pool

TMP: Saves the temporary data generated between the two reboots of the system;


/bin: Basic command for all users, cannot be associated to a separate partition, the program that is used by OS startup:

/sbin: Administrative command, cannot be associated to a separate partition, the program that is used by OS startup

/SRV: Data used by services on the system

/usr:universal Shared read-only Data:

Bin: An application that ensures that the system has full functionality.

Sbin

LIB64:

Header file for Include:c program (head files)

Share: Structured and independent program

Local: Installation location for third-party applications:

Bin,sbin,lib,lib64,etc,share

/proc: A virtual file system for outputting kernel-related process information

/sys: Virtual file system for outputting information about hardware devices on the current system

The storage location of information such as/selinux:selinux related security policy;













This article is from the "Technical Achievement Dream" blog, please be sure to keep this source http://xuxiaoliang.blog.51cto.com/10882951/1971101

2017.10.10 Marco Linux Learning note--linux file system

Related Article

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.