mount -t smbfs -o username=test,password=test //test/tmplinux /mnt/samba
附:
Usage: mount.smbfs service mountpoint [-o options,...]
Version 3.0.4
Options:
username= SMB username
password= SMB password
credentials= file with username/password
krb use kerberos (active directory)
netbiosname= source NetBIOS name
uid= mount uid or username
gid= mount gid or groupname
port= remote SMB port number
fmask= file umask
dmask= directory umask
debug= debug level
ip= destination host or IP address
workgroup= workgroup on destination
sockopt= TCP socket options
scope= NetBIOS scope
iocharset= Linux charset (iso8859-1, utf8)
codepage= server codepage (cp850)
unicode use unicode when communicating with server
lfs large file system support
ttl= dircache time to live
guest don't prompt for a password
ro mount read-only
rw mount read-write
This command is designed to be run from within /bin/mount by giving
the option '-t smbfs'. For example:
mount -t smbfs -o username=tridge,password=foobar //fjall/test /data/test