免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 2596 | 回复: 12
打印 上一主题 下一主题

挂在windows共享文件 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-04-10 11:21 |只看该作者 |倒序浏览
mount  -t smbfs -o usrname=administraotr,password=123456 //192.168.0.100/share /mnt/share
这条命令有问题么?我什么提示我smbfs就是不识别的格式呢 谢谢

论坛徽章:
0
2 [报告]
发表于 2009-04-10 11:24 |只看该作者
系统会自动识别文件类型的,不加也没什么!
如果你不放心,可以试试-t cifs

论坛徽章:
0
3 [报告]
发表于 2009-04-10 11:24 |只看该作者
如果不加的话 就停在那里没反应了

论坛徽章:
0
4 [报告]
发表于 2009-04-10 11:25 |只看该作者
mount -t cifs -o usrname=administraotr,password=123456 //192.168.0.100/share /mnt/share
试试

论坛徽章:
0
5 [报告]
发表于 2009-04-10 11:29 |只看该作者

回复 #3 26105957 的帖子

看看我的。

1.JPG (84.38 KB, 下载次数: 9)

1.JPG

论坛徽章:
0
6 [报告]
发表于 2009-04-10 11:30 |只看该作者
也没有反应

论坛徽章:
0
7 [报告]
发表于 2009-04-10 11:34 |只看该作者
一直都是这样

1.jpg (11.93 KB, 下载次数: 9)

1.jpg

论坛徽章:
0
8 [报告]
发表于 2009-04-10 11:35 |只看该作者

回复 #5 marsaber 的帖子

匿名访问么?

论坛徽章:
0
9 [报告]
发表于 2009-04-10 11:38 |只看该作者
OK了,先指定用户名提示输入密码时再输入就可以了。不知道怎么回事晕晕的

论坛徽章:
5
摩羯座
日期:2014-07-22 09:03:552015元宵节徽章
日期:2015-03-06 15:50:392015亚冠之大阪钢巴
日期:2015-06-12 16:01:352015年中国系统架构师大会
日期:2015-06-29 16:11:2815-16赛季CBA联赛之四川
日期:2018-12-17 14:10:21
10 [报告]
发表于 2009-04-10 11:58 |只看该作者

  1. [liuqi@localhost ~]$ mount.cifs

  2. Usage:  mount.cifs <remotetarget> <dir> -o <options>

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

  4. Options:
  5.         user=<arg>
  6.         pass=<arg>
  7.         dom=<arg>

  8. Less commonly used options:
  9.         credentials=<filename>,guest,perm,noperm,setuids,nosetuids,rw,ro,
  10.         sep=<char>,iocharset=<codepage>,suid,nosuid,exec,noexec,serverino,
  11.         mapchars,nomapchars,nolock,servernetbiosname=<SRV_RFC1001NAME>
  12.         directio,nounix,cifsacl,sec=<authentication mechanism>,sign

  13. Options not needed for servers supporting CIFS Unix extensions
  14.         (e.g. unneeded for mounts to most Samba versions):
  15.         uid=<uid>,gid=<gid>,dir_mode=<mode>,file_mode=<mode>,sfu

  16. Rarely used options:
  17.         port=<tcpport>,rsize=<size>,wsize=<size>,unc=<unc_name>,ip=<ip_address>,
  18.         dev,nodev,nouser_xattr,netbiosname=<OUR_RFC1001NAME>,hard,soft,intr,
  19.         nointr,ignorecase,noposixpaths,noacl,prefixpath=<path>,nobrl
  20.         in6_addr

  21. Options are described in more detail in the manual page
  22.         man 8 mount.cifs

  23. To display the version number of the mount helper:
  24.         mount.cifs -V
  25. [liuqi@localhost ~]$

复制代码


楼主写错了格式了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP