Enable automatic mounting of ntfs on CentOS

Source: Internet
Author: User
1 install gcc and gcc-c ++ 2 install NTFS-3G plug-in 3cp/etc/fstab // etc/fstab. bakvim/etc/fstab adds these two sentences at the end of the file and then OK, save and restart. /Dev/sda6/media/e

1. install gcc and gcc-c ++

2 install NTFS-3G plug-in

3

Cp/etc/fstab. bak

Vim/etc/fstab

Add these two statements at the end of the file. save and restart.

/Dev/sda6/media/e NTFS-3G defaults 0 0
/Dev/sda7/media/f NTFS-3G defaults 0 0

 

Note:

Sda6 and sda7 are the 2nd and 3rd logical partitions under my win7 respectively. E and f are folders created in the/media directory.

 

 

Disk number judgment:

Method 1: The system has four primary partitions. The four numbers 1, 2, 3, and 4 can only be allocated to the primary partition. Therefore, the 1st disks in the logical partition are sd5.

For example,/sda/dev1/sda/dev5 indicates that the system has a primary partition and a logical partition.

Method 2: mount-t NTFS-3G/dev/sda5/media/e try hanging

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.