Our department uses a windows server to share something, but I use arch, so I have to install samba. It's not difficult to mount that server but it's inconvenient to mount it manually everytime I reboot.
So I decide to use /etc/fstab to mount it automatically. Lines in /etc/fstab looks like this:
//Server/folder /mount/point cifs defaults,username=user,password=pass 0 0
It's a file-sharing server, password is not set. So, we write it like this:
//Server/folder /mount/point cifs defaults,username=user,guest 0 0
2011年5月24日星期二
订阅:
博文评论 (Atom)
没有评论:
发表评论