Linux commands:/etc,/bin,/sbin,/lib,/usr/usr/local system common directory discussion

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.