File systems for Linux

Source: Internet
Author: User

File systems for Linux:
Root file System (ROOTFS):
Root filesystem

LSB, FHS: (FileSystem heirache Standard)
/etc,/usr,/var,/root,/home,/dev

/boot: Boot file directory, kernel file (vmlinuz), boot loader (bootloader, grub) are stored in this directory;
/bin: A basic command for all users, a program that cannot be associated to a separate partition, and that is used by OS startup;
/sbin: The basic command of the management class, the program that can not be associated to the independent partition, OS startup;
/lib: Basic shared library files, and kernel module files (/lib/modules);
/LIB64: Dedicated to the storage location of the secondary shared library files on the x86_64 system;
/etc: Configuration file directory (plain text file);
/home/username: General user home directory;
/root: Administrator's home directory;
/media: Portable mobile device mount point;
CDRom
Usb
/MNT: Temporary file system mount point;
/dev: Device files and special file storage locations;
B:block device, random access
C:character device, linear access
/OPT: The installation location of the third-party application;
/SRV: Data used by services running on the system;
/tmp: temporary file storage location;
/usr:universal GKFX, read-only data;
Bin: An application that ensures that the system has full functionality;
Sbin
Lib:
LIB64:
Include:c the header files of the program (header file);
Share: structured independent data, such as Doc, man, etc.;
Local: The installation location of the third-party application;
Bin, Sbin, Lib, lib64, etc, share

       /var:variable data Files
             Cache: The application caches the data directory;
             Lib: Application state information data;
            Local: Dedicated to/ Usr/local applications store variable data;
            Lock: Lock file
             log: Logs directory and files;
             OPT: Dedicated to storing variable data for applications under/OPT;
             run: Process-related data in progress; The PID file that is typically used to store the process;
             Spool: Application data pool;
            tmp: Save temporary data generated between two reboots of the system;

/proc: A virtual file system for outputting kernel-related process information;
/sys: A virtual file system for outputting information about hardware devices on the current system;
/selinux:security the storage location of information such as enhanced linux,selinux related security policy;

Components of an application on Linux:
Binaries:/bin,/sbin,/usr/bin,/usr/sbin,/usr/local/bin,/usr/local/sbin
Library files:/lib,/lib64,/usr/lib,/usr/lib64,/usr/local/lib,/usr/local/lib64
Configuration files:/etc,/etc/directory,/usr/local/etc
Help files:/usr/share/man,/usr/share/doc,/usr/local/share/man,/usr/local/share/doc

File types under Linux:
-(f): ordinary documents;
d: catalog files;
B: block equipment;
C: Character device;
L: Symbolic link file;
P: Pipeline file;
S: socket file; socket;

File systems for Linux

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.