自动目录 使用 autofs 内核模块进行操作。内核模块autofs必须在启动 autodir 之前加载。
这可以作为 root 用户完成,使用 modprobe 命令,如下所示
# modprobe autofs