Linux系统,CentOS 6.4的NTFS驱动-NTFS-3g的安装和配置

使用 ntfs-3g 驱动程序来解决。

下载页面:http://www.tuxera.com/community/ntfs-3g-download/

当前最新版本:ntfs-3g_ntfsprogs-2013.1.13.gz

安装ntfs-3g

# tar zxvf ntfs-3g_ntfsprogs-2013.1.13.gz

# cd ntfs-3g_ntfsprogs-2013.1.13

# ./configure --prefix=/usr/local/ntf3g //编译,指定安装目录/usr/local/ntf3g,可以不指定

# make

# make install

Installation

Linux: Most distributions include and use NTFS-3G by default. Please use that one unless it’s anold version. If you wish to install NTFS-3G from the source code then make sure you have installed the basic development tools (gcc compiler, libc-dev libraries). Then type:

./configure

make

make install # or 'sudo make install' if you aren't root

Non-Linux: Please see the OS specific installation and source packages above.

判断哪个分区是NTFS格式,加载NTFS分区;

# fdisk -l

注意:用"fdisk -l"查看硬盘分区信息时,出现了“-bash: fdisk:commandnot found”的错误,解决办法如下:

1,管理员登录

2,执行命令# ln -s /sbin/fdisk /usr/bin

OK!

Usage

If there was no error during installation then the NTFS volume can be mounted in read-write mode for everybody as follows. Unmount the volume if it had already been mounted, replace /dev/sda1 and /mnt/windows, if needed.

mount -t ntfs-3g /dev/sda1 /mnt/windows

Please see the NTFS-3G Manual for more options and examples.

You can also make NTFS to be mounted during boot by adding the following line to the end of the /etc/fstab file:

/dev/sda1 /mnt/windows ntfs-3g defaults 0 0

开机分区自动挂载

应把一下命令放入/etc/fstab中

取消磁盘挂载:umount命令

# umount /mnt/win1

参考网站1:http://blog.csdn.net/zfr046/article/details/8095263

参考网站2:http://hi.baidu.com/a381243429/item/a6a21e33453016f8de222116

软件下载:http://www.tuxera.com/community/ntfs-3g-download/