自动加载器autofs
配置文件
/etc/auto.master
示例
/home /etc/auto.home --timeout=10
/misc /etc/auto.misc --timeout=10
am-utils 自动加载器
配置文件
/etc/amd.conf
示例
[ global ]
auto_dir = /.automount
search_path = /etc
[ /net ]
map_name = amd.net
map_type = file
[ /home ]
map_name = amd.home
map_type = file
/etc/amd.net
/defaults opts:=nosuid, nodev
* rhost:=${key};type:=host;rfs:=/
amd.home
/defaults type:=nfsl
tony fs:=/export/home/tony;rhost:=fileserver.mydomain.com;rfs:=${fs}
an fs:=/export/home/an;rhost:=fileserver.mydomain.com;rfs:=${fs}