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

    # tarzxvf ntfs-3g_ntfsprogs-2013.1.13.gz

    # cdntfs-3g_ntfsprogs-2013.1.13

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

    #make

    # makeinstall

Installation

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

./configure
make
make install
# or 'sudo makeinstall' if you aren't root

Non-Linux: Please see the OS specific installation and sourcepackages 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 volumecan be mounted in read-write mode for everybody as follows. Unmountthe 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-3GManual for more options and examples.

You can also make NTFS to be mounted during boot by adding thefollowing line to the end of the /etc/fstabfile:

/dev/sda1 /mnt/windows ntfs-3gdefaults 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/

你可能感兴趣的:(linux,centos,it,磁盘)