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