Analogy understanding of Linux mounts and partitions

Source: Internet
Author: User

Hard disk

IDE hard drive, expressed in HD . The first hard drive represents hda, the second hard disk HDB, and so on,hdc,hdd.

First partition of first hard drive hda1 , second partition hda2 Span style= "font-family: ' The song Body '; > The first partition of the second hard disk hdb1, second hdb2 hdc1,hdc2

SATA or SCSI hard drives, denoted by SD . Ibid., first block is SDA, second block is sdb, third SDC...

The first partition of the first hard drive is sda1, and sda2, Sdb1,sdb2.

Note that there is no way to represent a partition under Windows. The drive letter (C -Drive,D - Drive) simply assigns a letter to the partition and, if not assigned, is unassigned. Windows only uses letters to identify partitions, with no specific meaning.


under Windows, to use a partition, you assign a drive letter to a partition. such as C Drive,D Drive.

If there are too many partitions and the letters are allocated, the partition will not have a drive letter identified, then the partition will not be used? No, we can do this: Create a folder under a partition. Put this section in the folder.

such as C:/xx. When we access the xx folder, we are accessing this partition. We do not occupy the space of the C - disk space, which occupies this partition.

Limit case, can only use C to be the drive, but other partitions how to use that, the same method, in the C - disk to create a new folder, the other partitions loaded into the various folders inside.

Below we imitate the above situation:

A new partition has been formatted, but there are no drive characters to use.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6E/89/wKioL1V_mZrzyjtAAAHlr6lU7zw116.jpg "title=" Picture 1.png "alt=" Wkiol1v_mzrzyjtaaahlr6lu7zw116.jpg "/>

We imitate a limit case, there is not enough letters to allocate the letter, we choose the second loading mode.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6E/89/wKioL1V_majxEKrdAAEY0q2LjWI798.jpg "title=" Picture 2.png "alt=" Wkiol1v_majxekrdaaey0q2ljwi798.jpg "/>

You can see that we have loaded this partition into the yy folder of the C Drive, and the system does not assign a drive letter to it, and the partition does not appear under the resource manager .

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6E/8D/wKiom1V_mAeiY5YlAAGvoiqYUM4175.jpg "title=" Picture 3.png "alt=" Wkiom1v_maeiy5ylaagvoiqyum4175.jpg "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6E/89/wKioL1V_mcLRO0UiAADn3RQJdsc937.jpg "title=" Picture 4.png "alt=" Wkiol1v_mclro0uiaadn3rqjdsc937.jpg "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6E/89/wKioL1V_mc_QgCw8AACKuHjm2Iw432.jpg "title=" Picture 5.png "alt=" Wkiol1v_mc_qgcw8aackuhjm2iw432.jpg "/>

You can see that this is actually a partition.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6E/89/wKioL1V_md-wLC3OAAEOsfcEXBw779.jpg "title=" Picture 6.png "alt=" Wkiol1v_md-wlc3oaaeosfcexbw779.jpg "/>

Under Linux . The rule is that only "/" can be used as a drive letter, and no other character can be a drive letter. How do we use that other partition? same as in Windows. Create a lot of folders under/under. Load the partition inside. When we visit this folder later, we are actually accessing this partition, and the storage space is also each partition. This is also the meaning of the mount.

The meaning is similar to Windows above.


This article is from the "I am a novice" blog, please be sure to keep this source http://zhuozhuo.blog.51cto.com/6258373/1662266

Analogy understanding of Linux mounts and partitions

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.