25 September 1999
smbmount - mount an SMB filesystem
smbmount service mountpoint [ -o options ]
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.
Options to smbmount are specified as a comma separated list of
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.
- 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.
- specifies the SMB password. If not given then
smbmount will prompt for a passeword, unless the guest option is
- sets the source NetBIOS name. It defaults to
the local hostname.
- sets the uid that files will be mounted as. It may be
specified as either a username or a numeric uid.
- sets the gid that files will be mounted as. It may be
specified as either a groupname or a numeric gid.
- sets the remote SMB port number. The default is 139.
- sets the file mask. This deterines the permissions
that remote files have in the local filesystem. The default is based
on the current umask.
- sets the directory mask. This deterines the
permissions that remote directories have in the local filesystem. The
default is based on the current umask.
- sets the debug level. This is useful for tracking
down SMB connection problems.
- sets the destination host or IP address.
- sets the workgroup on the destination
- sets the TCP socket options. See the smb.conf
"socket options" option.
- sets the NetBIOS scope
- don't prompt for a password
- mount read-only
- mount read-write
The maintainer of smbfs, smbmnt and smbmount is Andrew Tridgell