[Linux] Linux automatically mounts NTFS mobile hard drives and ntfs

Source: Internet
Author: User

[Linux] Linux automatically mounts NTFS mobile hard drives and ntfs

1. First download ntfs-3g http://www.tuxera.com/community/ntfs-3g-download/

2. Decompress $ tar zxvf ntfs-3g_ntfsprogs-2011.4.12.tgz

3. Execute./configure make install in the source directory in sequence.

4. Create the/sbin/mount. ntfs file with the root permission. The content is as follows:

#! /Bin/sh
Export LANG = en_US.UTF-8
Exec/sbin/mount. ntfs-3g "$ @"

5. Add executable permissions

Chmod + x/sbin/mount. ntfs


How does red hat as 53 automatically mount a mobile hard drive in NTFS format?

By default, RHEL only recognizes vfat in win but does not recognize ntfs format. If you want to mount an nffs hard disk in linux, follow these steps:
(1) download the source package tuxera.com/...2.tgz
(2) installation: tar-zxf ntfs-3g-2010.10.2.tgz; cd tar-zxf ntfs-3g-2010.10.2;
./Configure; make & make install
(3) After the installation is successful, manually mount the ntfs hard drive:
Mount-t ntfs-3g/dev/sdb1/mnt/windows
Ntfs-3g/dev/sdb1/mnt/windows
(4) automatically mount the ntfs hard drive at startup:
/Dev/sdb1/mnt/windows ntfs-3g defaults 0 0
 
Mount ntfs mobile hard drives in linux

Mount-t ntfs/dev/sda1/mnt
/Mnt is the directory to be mounted (change to the directory you want to mount/dev/sda1 is to represent your mobile hard disk sda1. If your specific situation is
 

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.