File systems for Linux

Source: Internet
Author: User
Tags temporary file storage

Linux file system;

Root file System (ROOTFS);

Root filesystem


LSB,FHS (Filesystem Hierarchy standard);

/etc,/usr,/var,/root,/home,/dev


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, which is used by OS startup;

/sbin; A basic command of a management class; A program that can be used to start an OS without being associated to a separate partition;

/lib; basic shared library files and kernel module files (/lib/modules);

/lib64; dedicated to the location of secondary shared files on the x86_64 system;

/etc; configuration file (plain text file)

/home/user name; normal user home directory;

/root; an administrator's home directory;

/media; Portable mobile device mount point;

/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;

An application that ensures that the system has full functionality;

sbin; A basic command of a management class; A program that can be used to start an OS without being associated to a separate partition;

LIB; Basic shared library files and kernel module files (/lib/modules);

lib64; dedicated to the location of secondary shared files on the x86_64 system;

Include;c the location of the header file of the program (header files);

Share, structured independent data, Doc,man ... ;

Local; the installation location of the third-party application;

Bin,sbin,lib,lib64,etc,share

/var;variable Data files

Cache application caching Directory;

LIB; application state information data;

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

Lock file

Log directory and file

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

Run; a running process-related data; a PID file that is typically used to store a process;

Spool; application data is;

tmp; Save the temporary data generated between the 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 enhancedlinux;selinux related security policy;



2017-10-27

Wu Mingrui


This article is from the "New Network Society Blog" blog, please be sure to keep this source http://xwxhvip.blog.51cto.com/13020757/1976695

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.