File systems for Linux

Source: Internet
Author: User

File systems for Linux

Absolute path:/
Root file system: Rootfs

File System mount:

LSB:FHS (file system hierarchy Standard)

FHS:
/boot: Boot file directory, such as kernel (Vmlinuz), bootloader (Grub, GRUB2);
/bin:binary, a basic command for use by the user, and a program for OS startup;
/sbin: Basic commands for managing classes;
/lib: basic shared library; kernel module;
Shared library of the/lib64:x86_64 system;
/etc: Configuration file directory;
/home/username: The default location of the normal home directory;
/root: The administrator's home directory;
/media: Portable mobile devices;
/MNT: Temporary file system mount point;
/OPT: Optional directory, the default installation location for third-party applications;
/dev:devices, device files
B:block devices,random Access
C:character deivces,linear Access
/proc:
A pseudo-file system for outputting information about the kernel and process;
/sys:
Pseudo file system;
/srv:services, the system runs the service to use the intermediate data;
/tmp: Temp file directory;
/usr:universal GKFX, read-only data;
Bin: To ensure that the system provides basic functions;
Sbin
Lib
Lib64
Include:c the header file of a program; header files
Share: structured, independent data
Doc, man
Local: The installation location of the commonly used third-party programs now;
Bin
Sbin
Lib
Lib64
etc
Share
/var:variable Data files
Cache: Application Caches data
LIB: Status information data for an application
Local: Dedicated to storing variable data for applications under/usr/local;
Lock: Lock file
LOG: Journal file
OPT: Dedicated to/opt
Spool: The data pool of the application;
Run: Data about a running process, usually using the daemon's PID file;
/selinux

Types of files for Linux:
-(f): Ordinary documents
D: Catalog file
B: Block device files
C: Character device file
L: Symbolic Link file
P: Named pipe file
S: Socket file

If you have any questions, please correct me!

Thank you!

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.