November 2008 Archives

mount_smbfs 挂载共享

|

现在主要用 FreeBSD 7.0 做桌面,共享文件服务器上的文件(CIFS 方式),方法

%mount_smbfs -h
usage: mount_smbfs [-E cs1:cs2] [-I host] [-L locale] [-M crights:srights]
                   [-N] [-O cowner:cgroup/sowner:sgroup] [-R retrycount]
                   [-T timeout] [-W workgroup] [-c case] [-d mode] [-f mode]
                   [-g gid] [-n opt] [-u uid] //user@server/share node

我的文件服务器也是自建的,BSD 6.2两个硬盘做的 RAID/ 支持/ CIFS /NFS 下面以CIFS方式连接

mount_smbfs -I share '//tea@share/software' /media/share_software

服务器是samba user级别,-I 是指定主机 IP 用户可以要求密码的,也可以不要.用户名就是 tea /如果指定参数 -N 就是不要密码,最后面的是挂载点

About this Archive

This page is an archive of entries from November 2008 listed from newest to oldest.

October 2008 is the previous archive.

December 2008 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.1