发布时间:2019-09-07 08:12:33编辑:auto阅读(2174)
1,CentOS默认源里没有ntfs3g,想要添加ntfs支持,需要自己下载编译安装或者加源yum安装。我这里使用的是添加aliyun的epel源来yum安装的方式。
2,添加epel yum源
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
3,安装ntfs-3g
yum -y install ntfs-3g
4,挂载ntfs类型的文件系统
mount -t ntfs /dev/sdb2 /mnt/winC
5,查看是否挂载成功
df -lhT
6,写入fstab中,使其开机自动挂载
vi /etc/fstab
/dev/sdb1 /mnt/winC ntfs-3g rw,umask=0000,defaults 0 0
7,重启再次查看是否自动挂载
df -lhT
上一篇: 2-3 选项卡控件
下一篇: 【零基础手把手教你学Python】为什么
51693
51348
41786
38559
33031
30057
28719
23709
23633
21997
2194°
2888°
2404°
2352°
2920°
2356°
3153°
5189°
5008°
3580°