
smbmount (1)

Samba
25 September 1999

NAME

smbmount - mount an SMB filesystem
smbmount - װһSMBļϵͳ

SYNOPSIS

smbmount service mountpoint [ -o options ] 

DESCRIPTION

smbmount mounts a SMB filesystem. It is usually invoked as mount.smbfs from the 
mount(8) command when using the "-t smb" option. The kernel must support the 
smbfs filesystem.
smbmountװһSMBļϵͳͨڴ-t 
smbѡִmount(8)ʱΪmount.smbfsĿáȻں˱֧smbfs
ļϵͳ

Options to smbmount are specified as a comma separated list of key=value pairs.
smbmountʹõѡöŷָһkey=valueִԵб

NOTE: smbmount calls smbmnt to do the actual mount. You must make sure that 
smbmnt is in the path so that it can be found.
ע⣺smbmountsmbmntʵʵװȷsmbmntλڿҵ
·С 

  username=<arg> 
  specifies the username to connect as. If this is not given then the 
  environment variable USER is used. This option can also take the form 
  user%password or user/workgroup or user/workgroup%password to allow the 
  password and workgroup to be specified as part of the username. 
  ʱָûָUSERʹѡҲ
  user%passworduser/workgroupuser/workgroup%passwordȡÿ͹
  ϢΪûһ 

  password=<arg> 
  specifies the SMB password. If not given then smbmount will prompt for a 
  passeword, unless the guest option is given. 
  ָSMBָʾʹguestѡ 

  netbiosname=<arg> 
  sets the source NetBIOS name. It defaults to the local hostname. 
  趨ԭNetBIOSĬǱ 

  uid=<arg> 
  sets the uid that files will be mounted as. It may be specified as either a 
  username or a numeric uid. 
  趨װļߵûʶȻҲûUIDְ취ָ
  
  gid=<arg> 
  sets the gid that files will be mounted as. It may be specified as either a 
  groupname or a numeric gid. 
  趨װļߵʶȻҲGIDַָ 

  port=<arg> 
  sets the remote SMB port number. The default is 139. 
  趨ԶSMBϵͳĶ˿ںšĬ139 

  fmask=<arg> 
  sets the file mask. This deterines the permissions that remote files have in 
  the local filesystem. The default is based on the current umask. 
  趨ļ롣˱ػ˵ԶļȨޡĬֵǵǰumask 

  dmask=<arg> 
  sets the directory mask. This deterines the permissions that remote 
  directories have in the local filesystem. The default is based on the current 
  umask. 
  趨Ŀ¼롣˱ػ˵ԶĿ¼ȨޡĬֵҲǵǰumask

  debug=<arg> 
  sets the debug level. This is useful for tracking down SMB connection 
  problems. 
  趨ԵȼڸSMBǳá 

  ip=<arg> 
  sets the destination host or IP address. 
  趨ĿIPַ 

  workgroup=<arg> 
  sets the workgroup on the destination. 
  趨ĿĹ顣 

  sockopt=<arg> 
  sets the TCP socket options. See the smb.conf "socket options" option. 
  趨TCP׽ֵһЩѡμsmb.confļеġsocket optionsѡ 

  scope=<arg> 
  sets the NetBIOS scope 
  趨NetBIOSΧ 

  guest 
  don't prompt for a password 
  ʾ 

  ro 
  mount read-only 
  ֻʽװء 

  rw 
  mount read-write 
  Զдʽװء 

AUTHOR

The maintainer of smbfs, smbmnt and smbmount is Andrew Tridgell tridge@samba.org 
Andrew Tridgell tridge@samba.orgsmbfssmbmnt͡smbmountά

[İά] meaculpa email:meaculpa@21cn.com
[İ¸] 2000/12/08
MAN-PAGEƻ:http://www.cmpp.net/