Linux file system
When installed in Linux, you can specify a partition is installed in a file inside.
bin
This is a soft link, which put all executable commands. When installed the system, bin directory can not divide a single partition.
Because turning the will to mount bin directory, but then, if the bin is empty, it will conflict.
boot
These systems store the file and we start relating.
dev
Hardware store
[Picture dump outside the chain fails, the source station may have a security chain mechanism, it is recommended to save the pictures uploaded directly down (img-L2j2V0bO-1582607409465) (D: \ jiangpersonal \ Knowledge Management \ Hat \ dev.png)]
Each additional applications, the kernel will be identified. It is then mapped to the user space using udv.
So dev is not a separate division of the partition.
etc
There are a variety of configurations stored information. This must not be divided into separate partitions.
home
Used to store the user's home directory. But it is not the home directory.
Home directory
What is the home directory? It is the root node of a tree. I think it can be understood.
lib
Store a variety of modules.
lib64
There is a 64-bit memory module
Both directories can not be partitioned.
media
Automatically mount a directory. This deletion does not delete the directory does not matter.
mnt
Manually mount the folder. Delete it will not matter.
Upd
Use it only under certain circumstances, less than in other cases.
proc
Storage kernel parameters. Only boot time there will have a file.
So when the optimization of the system, we will generally be modified to proc inside.
This can not be partitioned independently.
root user
This is its home directory.
If there is x, it shows the current user can not access.
run
Now meida is to automatically mount it following media
sbin
Put some executable command.
It can not be divided into a separate partition.
srv
Generally, when a special talent to use.
Generally less than.
sys
Some of the information is used to set the hardware.
View CPU
lscpu
Modify CPU
cd /sys/
ls
cd system
cd cpu/
ls cpu1
This is the view of the CPU state. There will be an online, if reality is 1, then the CPU is turned on. If it is 0 then it is closed.
Close CPU
echo 0 > cpu1/online
View CPU properties
cat cpu1/online
Therefore, this document can not create a separate partition.
tmp
Temporary files
usr
File system-generated system installation.
When it installed a software package, most of the files will exist there. You can put forward a separate partition.
where
Store log files or database files. You can mount a separate partition.
Logical Volume
When installed the system recommends using logical volumes.
When file
usr
File system-generated system installation.
When it installed a software package, most of the files will exist there. You can put forward a separate partition.
where
Store log files or database files. You can mount a separate partition.
Logical Volume
When installed the system recommends using logical volumes.
Note, boot logical volume can not be placed above.