cifs挂载 mount ubuntu_Ubuntu挂载samba共享目录

Ubuntu中现在没有smbfs了,所以smbmount命令也用不了了,现在可以使用mount.cifs命令来挂载。

Usage:  mount.cifs

Mount the remote target, specified as a UNC name, to a local directory.

Options:

user=

pass=

dom=

Less commonly used options:

credentials=,guest,perm,noperm,setuids,nosetuids,rw,ro,

sep=,iocharset=,suid,nosuid,exec,noexec,serverino,

mapchars,nomapchars,nolock,servernetbiosname=

directio,nounix,cifsacl,sec=,sign,fsc

Options not needed for servers supporting CIFS Unix extensions

(e.g. unneeded for mounts to most Samba versions):

uid=,gid=,dir_mode=,file_mode=,sfu

Rarely used options:

port=,rsize=,wsize=,unc=,ip=,

dev,nodev,nouser_xattr,netbiosname=,hard,soft,intr,

nointr,ignorecase,noposixpaths,noacl,prefixpath=,nobrl

Options are described in more detail in the manual page

man 8 mount.cifs

To display the version number of the mount helper:

mount.cifs -V

例如:mount.cifs //172.16.202.232/xxxxxx  /work -o user=xxxxxxx

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值