Before introducing Linux partitions and Mount points, I would like to introduce a Windows example, this example is used to illustrate what Linux partitions and Mount points are. 1. the lost partition is in WinPE. I divide a hard disk into one primary partition and four... Linux partitions and Mount points.
Before introducing Linux partitions and Mount points, I would like to introduce a Windows example, which is familiar to all Windows users. I will use this example to illustrate what Linux partitions and Mount points are.
1. deleted partitions
In WinPE, I divide a hard disk into a primary partition and four logical partitions. The primary partition assigns drive letter C, and the four logical partitions do not assign drive letter:
What will happen? The result is that on my computer, you can only see one drive C, and the other four are missing:
2. load partitions into folders
Next, I created four folders in drive C: boot, home, user, and tmp:
Open disk management, and mount the first logical partition to a blank NTFS folder (C: \ boot) in the following steps ):
Then, follow the same steps above to load the second logical partition into the C: \ home folder and the third logical partition into the C: \ user folder.
3. is there any change?
What will happen? Opening drive C does not seem to have any changes:
Open the boot folder and create a txt file, as if everything is still normal:
Open disk management, we assign a drive letter D to the first logical drive, and go to my computer to open drive D:
Isn't txt in the C: \ boot folder? How did I get to drive d? Go to C: \ boot and check that the txt file is still in progress. modify it and save it. then, go to D: \ mzwu.com.txt and modify it!
What did you think? Yes, open C: \ boot, and actually open the D disk. In other words, C: \ boot is the D disk portal, and so on. home is the second logical partition Portal, the user is the third logical partition entry.
Let's take a look at the changes in the attributes of the C: \ boot folder before and after loading the partition into C: \ boot:
4. Linux partitions and Mount points
In Linux, mounting partitions to a mount point is the same as mounting disk partitions to a blank NTFS folder in Windows. The Linux root directory is the upper C disk. The difference is that Windows can assign drive letters to other partitions, but Linux does not. A mount point is a folder. when a partition is mounted to a mount point, the mount point becomes the partition entry. Mount points without partitions use the space in the root directory. partitions not mounted to the Mount point cannot be accessed, for example, the fourth logical partition above.
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.