- Please indicate how/bin differs from the execution file placed by the/usr/bin directory.
/bin and/usr/bin are all executed files, but/bin placed in the single-user maintenance mode can execute commands, such as CAT,CP, related to the boot process, Usr/bin placed is the general user can execute the command, independent of the boot process.
- Please indicate how/bin differs from the execution file placed in the/sbin directory.
/sbin is placed on the boot process related commands, such as boot, repair, restore system.
- Which directories cannot be placed with the root directory (/) in a different partition? And please indicate what data is placed in the directory.
/etc: Configuration file
/bin: Important Execution files
/dev: Required device files
/lib: Function libraries required to execute files and modules required by the kernel
/sbin: Important System Execution files
/is the root directory, the boot process and the root directory, only the root directory will be mounted when the boot, and other partitions are mounted after the boot behavior, all the boot process related files must be placed in the same partition as the root directory
- Try to explain why the root directory is smaller and better. In addition, when partitioning, why is home/usr,/var,/tmp best be placed in a different partition than the root directory? Try to explain the possible causes (as discussed by the contents of the directory placement)
Bird's Home cuisine 6th Chapter Linux file permissions and directory configuration after class exercises