Centos itself does not support NTFS format, in order to enable centos to support Windows NTFS. Use a ntfs-3g to make it support NTFS mounting.
The procedure is as follows:
1. Install ntfs-3g
1. Download the stable version ntfs-3g from http://www.tuxera.com/community/ntfs-3g-download/
2. decompress the tar.gz package. Run the command window in the directory.
./configuremakemake install
Or directly operate in the Command window.
wget http://tuxera.com/opensource/ntfs-3g_ntfsprogs-2011.4.12.tgz tar zxvf ntfs-3g-2010.8.8.tgz cd ntfs-3g-2010.8.8 ./configure make make install
* *** No acceptable C compiler in $ PATH *** may appear during configure ****
This is because the C compiler GCC is not installed. Installation Method # Yum-y install gcc
Procedure after configure
* ***** Solution ***
I. mount an NTFS Hard Disk
Here, the C drive (/dev/sda1) in Windows is used as an example.
1. Create a mount point. It is recommended to put it in/mnt/windows.
mkdir /mnt/windowsmkdir /mnt/windows/c
2. Attach a C Disk
mount -t ntfs-3g /dev/sda1 /mnt/windows/c
Now, you can view and edit the NTFS disk content in/mnt/window/windows.
To automatically mount the NTFS partition when the system is started, edit the vim/etc/fstab file and add the following content:
Read-Only mount:/dev/sda1/mnt/Windows/C ntfs-3g Ro, umask = 0222, defaults 0 0
Read/write mount:/dev/sda1/mnt/Windows/C ntfs-3g RW, umask = 0000, defaults 0 0
Or:/dev/sda1/mnt/Windows/C ntfs-3g defaults 0 0
From: http://blog.csdn.net/esp4u/article/details/6748032