Ubuntu Linux Yong-Suk (Mount) points

Source: Internet
Author: User
Tags uuid

In general, we would like to install a partition solution that uses the Mount command because I want/dev/sda3 to install/media/aborn/data by using the following command

sudo mount/dev/sda3  /media/aborn/data

But the bad thing about this approach is that the machine is restarted and has to be mounted manually and again.

Then, the way to mount the partition permanently is to change the partition file/etc/fstab

My partition file/etc/fstab such as the following:


First we get the UUID to the/dev/sda3 partition, using the following command:

sudo blkid/dev/sda3
The results are as follows:

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvbg92zwfib3ju/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">

We then add a line to the format in the/etc/fstab file, such as the following:

Uuid=904c23b64c23964e/media/aborn/data NTFS defaults        0       2
The first column is the UUID, the second column is the Mount folder (the folder must be an empty folder), and the third column is the file system type. The last column is the number of references, and the fifth column 0 means no backup, the final one must be 2 or 0 (unless the boot partition is 1)

Finally/etc/fstab content such as the following:


Finally, use the command mount-a to see if it is successful:

aborn-lisp# mount-a





Copyright notice: This article blog original articles, blogs, without consent, may not be reproduced.

Ubuntu Linux Yong-Suk (Mount) points

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.