[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