Autofs of samba and nfs
8 月 07
1. yum install autofs
2. yum install nfs-utils smb-client
edit
1. vi /etc/auto.master
/mnt/smb /etc/auto.smb
/mnt/nfs /etc/auto.nfs
2. vi /etc/auto.smb
direcoty-name -fstype=cifs,username=NULL,password=NULL ://IP-Addr/shared-path
3. vi /etc/auto.nfs
directory-name -rw,bg,soft,rsize=32768,wsize=32768 ip-addr/shared-path