300G HDD Partition Planning |
partition |
root partition, 100G |
swap partition, 32G, twice times physical memory |
log partition, 100G |
temp file partition, 68G |
mount point |
/ |
|
/var |
/tmp |
Role |
Linux has many important directories, and if they do not specify separate partitions, they will be stored in the partition. For example, if you do not partition the/var directory separately, that is, the log partition is not partitioned, then/var is only a directory in the root partition, where the files are also stored in the root partition, but partition the log partitions and mount the partition to/Var, the meaning of/var is a mount point where the files are stored in the log partition. |
The size is twice times the physical memory. Virtual memory, temporarily storing temporary data in swap when the system is running out of memory space. No corresponding directory, the user cannot access, only by the operating system access. |
Store the log. Again, after the log partition is mounted to/Var,/var is both a directory and a mount point, and/var files are stored in the log partition, if the root partition is full, and/var really does not have a half-dime relationship! |
Store temporary files. |
Linux Important directory:
/bin: System Command Directory
/boot: Start Linux core file
/dev: Device files, such as CD-ROM corresponding to cdrom,u disk corresponding to SDB
/etc: Configuration file
/home: User House Directory
/lib: The most basic dynamic Link sharing library of the system
/MNT: Mount Directory
/PROC: Storage System kernel, process, etc., this directory of data in memory, do not occupy disk space
/sbin: System administrator command to store directory
/usr: Store applications, Windows-like C:\Program files
/sys: Similar to/proc
/var: log file
/tmp: Temp directory
Lost+found: The purpose of this directory is to save some missing fragments to this directory when a file system error occurs
360 Written---Linux partitioned directory mount points