The meaning of linux root directory

The root directory is the most important directory in the entire system, because not only all directories are derived from the root directory, but the root directory is also related to boot/restore/system repair and other actions. Since the system requires specific boot software, core files, boot programs, libraries and other file data when booting, if an error occurs in the system, the root directory must also contain a program that can repair the file system. Because the root directory is so important, in terms of FHS requirements, he hopes that the root directory should not be placed in a very large split slot, because the larger the split slot, the more data you will put in it, so where the root directory is Splitting slots may create more opportunities for errors.
Therefore, the FHS standard recommends that the split slot where the root directory (/) is located should be as small as possible, and the software installed by the application should not be placed in the same split slot as the root directory. Keep The smaller the root directory, the better. Not only does this provide better performance, but the file system where the root directory is located is also less prone to problems.

Guess you like

Origin blog.csdn.net/weixin_69797860/article/details/131080100