一、autofs: 在客户端实现自动挂载卸载的软件
[root@tese ~]# dnf install autofs -y
[root@tese ~]# ls -l /net/服务未重启此目录不存在
ls: cannot access '/net/': No such file or directory
[root@tese ~]# systemctl restart autofs.service
[root@tese ~]# ls -l /net/此目录存在
total 0
[root@tese mnt]# systemctl restart autofs.service
测试效果