系统:CentOS7.0
目的解决CentOS系统无法识别NTFS分区(或U盘问题)
[root@17usb]# mount /dev/sdc4 /mnt/usb
mount: unknownfilesystem type 'ntfs'
下载ntfs-3g
[root@17Software]# wget https://tuxera.com/opensource/ntfs-3g_ntfsprogs-2015.3.14.tgz
--2015-07-3013:50:43-- https://tuxera.com/opensource/ntfs-3g_ntfsprogs-2015.3.14.tgz
Resolving tuxera.com(tuxera.com)... 77.86.224.47
Connecting totuxera.com (tuxera.com)|77.86.224.47|:443... connected.
HTTP request sent,awaiting response... 301 Moved Permanently
Location: https://www.tuxera.com/opensource/ntfs-3g_ntfsprogs-2015.3.14.tgz[following]
--2015-07-3013:50:44-- https://www.tuxera.com/opensource/ntfs-3g_ntfsprogs-2015.3.14.tgz
Resolving www.tuxera.com (www.tuxera.com)...77.86.224.47
Connecting to www.tuxera.com (www.tuxera.com)|77.86.224.47|:443...connected.
HTTP request sent,awaiting response... 200 OK
Length: 1210069(1.2M) [application/x-gzip]
Saving to:鈥榥tfs-3g_ntfsprogs-2015.3.14.tgz鈥
100%[==============================================================================>]1,210,069 151KB/s in 7.8s
2015-07-30 13:50:54 (151 KB/s) -鈥榥tfs-3g_ntfsprogs-2015.3.14.tgz鈥saved [1210069/1210069]
加压缩、编译安装
[root@17/]#tarzxvf ntfs-3g_ntfsprogs-2014.2.15.tgz
[root@17/]#cdntfs-3g_ntfsprogs-2015.3.14
[root@17/]#./configure && make &&make install
挂载NTFS优盘
[root@17/]#mount -t ntfs-3g /dev/sdc4 /mnt/usb
The disk contains anunclean file system (0, 0).
The file systemwasn't safely closed on Windows. Fixing.