自动挂载
1.安装autofs
[root@ceclient ~]# dnf install autofs -y
2、进入指定目录修改取消挂载时间
[root@ceclient ~]# vim /etc/autofs.conf
###
26 timeout = 5
###
3、重启服务
[root@ceclient ~]# systemctl restart autofs
4、进入/net/xxx.xxx.xxx.100/共享目录
5、退回根目录 cd / 倒数5秒后 观察自动挂载是否已经取消
1.安装autofs
[root@ceclient ~]# dnf install autofs -y
2、进入指定目录修改取消挂载时间
[root@ceclient ~]# vim /etc/autofs.conf
###
26 timeout = 5
###
3、重启服务
[root@ceclient ~]# systemctl restart autofs
4、进入/net/xxx.xxx.xxx.100/共享目录
5、退回根目录 cd / 倒数5秒后 观察自动挂载是否已经取消
相关推荐
查看8道真题和解析