手工安装ntfs-3g访问NTFS格式U盘
Linux版本:centos 7
Linux访问U盘,需要ntfs-3g软件,通过yum无安装源。
# yum -y install ntfs
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
No package ntfs available.
Error: Nothing to do
# yum -y install ntfs-3g
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
No package ntfs-3g available.
Error: Nothing to do
直接下载,手工安装,步骤如下:
#wget https://tuxera.com/opensource/ntfs-3g_ntfsprogs-2017.3.23.tgz
#tar zxvf ntfs-3g_ntfsprogs-2017.3.23.tgz
#cd ntfs-3g_ntfsprogs-2017.3.23
#./configure
#make
#make install
可以挂接U盘。
# mount -t ntfs-3g /dev/sde1 /mnt/udisk