mount windows网络文件夹
mount //192.168.xxx.xxx/remotefolder /localfolder -o username=Administrator,password=1234 -t smbfs
而 RHEL 5 上已经不能用了(会报错:unknown filesystem type 'smbfs'),我们只需要将文件系统类型从 smbfs 改为 cifs就行了
mount //192.168.xxx.xxx/remotefolder /localfolder -o username=Administrator,password=1234 -t cifs
英文解释:
Server Message Block (commonly abbreviated as SMB) protocol. This protocol is sometimes also referred to as the Common Internet File System (CIFS).