jichun.wang - 智维札记

Description: 智维札记

linux (7503) emlog (210) 运维 (174) k8s (125) 虚拟化 (49) 云原生 (47) 信创 (27) 国产化 (17) deepin (7)

Example domain paragraphs

首页 Linux k8s AI 搜索 搜索 jichun

累计撰写 8 篇文章 累计收到 0 条评论 首页 栏目 首页 Linux k8s AI 页面 自定义幻灯片 2022-3-27 Centos 使用autofs实现自动挂载 Autofs是一个自动挂载文件系统的工具,它可以根据需要自动挂载和卸载文件系统,而无需手动干预。这使得管理文件系统变得更加方便和高效。 在Linux系统中,autofs通常用于自动挂载NFS(Network File System)等远程文件系统,以便在需要时自动挂载远程文件系统,而在不需要时自动卸载。 1、安装autofs 安装: # 安装 [root@localhost ~]# yum install -y autofs # 查看配置文件位置 [root@localhost ~]# rpm -qc autofs /etc/auto.master /etc/auto.misc /etc/auto.net /etc/auto.smb /etc/autofs.conf /etc/autofs_ldap_auth.conf /etc/sysconfig/autofs /usr/lib/systemd/system/autofs.service