Introduction of Unix/linux/usr directory

Source: Internet
Author: User
Tags contains

In a Linux system, there is a very important directory--/usr directory. On the origin of this directory name, the main online has the following several statements:

User's initials

User shareable read-only abbreviation

Abbreviation for Unix/user System Resources

Abbreviation for Unix/user Software Resources

Most versions of the Linux/usr directory are currently placed primarily with executables and first-pass files, so user seems unlikely.

Consult the relevant information, about the origin of the/USR directory is as follows:

/usr usually contains by far the largest share of data on a system.

Hence, this is one of the most important directories in the system as

It contains all the user binaries, their documentation, libraries,

header files, etc .... Libraries can be found by X and its supporting

Here. User programs like Telnet, FTP, etc ... are also placed here. In

The original Unix implementations,/USR was where the home directories

Of the users were placed (that's to say,/usr/someone was then the

Directory now known As/home/someone). In Unices,/usr is

where User-land programs and data (as opposed to "system land")

Programs and data) are. the name hasn ' t changed, but it ' s meaning has

Narrowed and lengthened from ' Everything user related ' to ' user usable

Programs and Data ". As such, some people may now refer to this

Directory as meaning ' user System resources ' and '

Originally intended.

/usr is shareable, read-only data. That means THAT/USR should is

Shareable between various fhs-compliant hosts and must not being written

To. Any information this is host-specific or varies with the time is

Stored elsewhere.

Large software packages must not use a direct subdirectory under the

/usr hierarchy.

The/USR directory stores important binaries, documents, library files, header files, and so on in the system. In the early UNIX version, the/usr directory exists as a user's home directory (equivalent to the current/home directory), so the name of the directory should start with the user's initials, which indicates the users ' home directory. And now in the UNIX version, the/usr directory has a very different role, the main storage is some non-system start-up necessary procedures and data. Some people have therefore extended the meaning of the/usr directory to user System resources.

The/usr directory holds shared, read-only data. This means that/usr should be shared among compatible FHS standard hosts, and that the data should not be modified. Data that is related to host properties or that is constantly changing should not be stored in the secondary directory.

Large packages should not be stored using the subdirectories under/usr.

Since then, the origin of the/USR catalogue is the truth. You can call it user System resources or user shareable read-only. Whatever, it is good to know its history and function.

This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/OS/Linux/

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.