1, these directories for the system to be used to start the program, these directories can not be mounted separately as an additional partition,
Must be on the partition of the root file system.
/ etc,/bin,/sbin,/lib
2. The partition of core function of/USR operating system can be partitioned separately
/usr/bin/usr/sbin/usr/lib
3,/usr/local third-party software is stored in the directory partition, can be partitioned separately, and it is recommended to mount a separate partition.
/usr/local/bin/usr/local/sbin/usr/local/lib/usr/local/etc/usr/local/man
4, the early third-party software general storage directory for /opt, but is generally stored in the /usr/local directory
5, the system self-managed pseudo-file system storage directory, default is empty, and can not be partitioned separately, the system must exist directory
/proc/sys
6, the device file directory partition, can not be partitioned separately, and is a must exist directory
/ Dev udev creates device files for devices in the/dev directory through hardware devices
7, the user's home directory partition, it is recommended to separate partition///
8, the administrator's home directory, can not be partitioned separately /root
9, log file system partition, recommended separate partition/ var
10. Kernel file and initrd (INITRANFS) file storage partition/ boot
This article is from the "Learn Linux history" blog, please be sure to keep this source http://woyaoxuelinux.blog.51cto.com/5663865/1872095
Linux commands:/etc,/bin,/sbin,/lib,/usr/usr/local system common directory discussion