s*****a 发帖数: 1022 | 1 hehe, from this link:
http://hostopia.samba.org/samba/smbfs/
The smbfs filesystem is a mountable SMB filesystem for Linux. It does not
run on any other systems.
Do you have any idea how to make smbfs work on Solaris? |
|
m**c 发帖数: 90 | 2
smbfs is just one type of file system, it is not just for Linux :-) Linux
doesn't use smbfs as default file system, it uses ext2/ext3/etc. Goto
http://www.sunfreeware.com to download SAMBE package for Solaris. |
|
|
X****r 发帖数: 3557 | 4 Well I should have said most unices have samba support, not smbfs support.
e.g. you can run smbclient/smbd
However, beside Linux, Darwin does have smbfs support. |
|
|
c*****m 发帖数: 1160 | 6
执行了
sudo mount -t cifs //192.168.118.1/usernamesvn -o username=username,password
=password /home/username/svn
得到跟前面截屏里完全相同的结果:
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
然后把 cifs换成 smbfs也一样。 |
|
c*****m 发帖数: 1160 | 7 首先,有一个server1, 5个用户登录上去后都可以读/写 /home/pub 目录,权限777。
然后同一局域网内加了一个 server2,拷贝 /etc/passwd , group 等过去,5个用户的
uid完全相同.
任务:在 server2上面 mount server1的 /home/pub,这样在两台server上面都可以访
问同一个 /home/pub 目录,文件共享。
环境:两个都是 ubuntu 12.04 LTS server.
尝试1: NFS (native linux network file share) 。
不成功,因为整个 /home 都是加密的 (ecryptfs),而NFS不支持 ecryptfs (I learnt
it the hard way)
尝试2: 在 server1 里用 samba share 这个目录,在server 2 mount起来。
读写权限有问题。在server 2 用 user,credentials=/root/.smbcredentials 的方式
来放 用户名 test 密码 test 。mount 成功,读这个... 阅读全帖 |
|
d********l 发帖数: 741 | 8 网络硬盘在192.168.1.9, 然后在本地fstab里面挂载:
//192.168.1.9/media /mnt/media smbfs username=me,password= key 0 0
但这样,password在fstab里面就是明码保存的。有什么办法可以隐藏这个密码呢?
类似的情况还有用script实现挂载网络硬盘的时候,也需要密码,同样也希望隐藏。
谢谢 |
|
m**k 发帖数: 290 | 9 cifs is better than smbfs
use mount options credentials=filename
man mount.cifs |
|
X****r 发帖数: 3557 | 10 samba
比如你要在unix下access Windows的共享目录,把它作为一个smbfs 类型的文件
系统mount 上就行了。具体语法取决于你的系统。 |
|
s*****a 发帖数: 1022 | 11 smbfs是linux下的filesystem, 其他unix也支持吗? |
|
X****r 发帖数: 3557 | 12 smb实际上指的是Windows 下file and printing sharing的协议,
SMB = Server Message Block
大部分unix都有smbfs 的支持, e.g. OS/X (this is not an official UNIX though),
Solaris/SunOS, IRIX, etc... |
|