Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1462074
  • 博文数量: 181
  • 博客积分: 3308
  • 博客等级: 中校
  • 技术积分: 2227
  • 用 户 组: 普通用户
  • 注册时间: 2010-10-03 12:03
个人简介

我是zoro

文章分类

全部博文(181)

文章存档

2015年(1)

2013年(35)

2012年(39)

2011年(50)

2010年(56)

分类: LINUX

2012-07-10 22:08:29

1linux 访问windows 共享的方法

 

 Mount  -t cifs //主机地址/共享目录 /映射本地目录 –o nounix, noserverino

 Cifs 表示通用网络文件系统(common internet file system)

 例如:mount -t cifs //192.168.1.101/shared /home/ubuntu/mnt -o username='xxx',password='xxx',codepage='cp936',iocharset='utf8',rw,uid=1000,gid=1000,nounix,noserverino

2:共享编译时出现 Value too large for defined data type 如何解决

 

mount 添加选项 –o nounix, noserverino 就可以解决

 

3–o nounix, noserverino 什么意思

 

noserverino Client generates inode numbers (rather than using the actual one from the server) by default.

See section INODE NUMBERS for more information.

nounix Disable the CIFS Unix Extensions for this mount. This can be useful in order to turn off multiple settings at once. This includes POSIX acls, POSIX locks, POSIX paths, symlink support and retrieving uids/gids/mode from the server. This can also be useful to work around a bug in a server that supports Unix Extensions.

参考:

 
阅读(1885) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~