HP CIFS Client A.01.09 Administrator's Guide, August 2003

Commandline Utilities
mount_cifs, umount_cifs
Chapter 5 71
-o keywrd[,keywrd...],keywrd=value[,keywrd=va
lue...]
Some keywords are specified as keyword/value pairs,
some are not. -o options must be delimited by
commas; no white space is allowed. For example:
-o ro,username=fulton,password=pokey
Following are the
-o
options to mount supported by
the CIFS Client (keywords that require values are
indicated by "keyword=value"):
nbname=nbname Set NetBios name of client. HP CIFS is based on
NetBios. NetBios requires that valid NetBios computer
names are supplied during the connection
establishment for the client and the server. The client
name is usually taken from the hostname of your
computer. If this does not work or if your computer’s
NetBios name is different, you may supply the value to
be used with this parameter. This parameter is ignored
if the server is already connected.
ipaddr=addr IP address of server. By default, the hostname of the
server is taken from the server specification of the
share. This must also be the NetBios host name of the
server, if the server enforces correct NetBios names.
The HP CIFS Client uses DNS instead of NetBios to
resolve server names to IP addresses. If the DNS name
of the server is different from the NetBios name, you
may supply the DNS name or the server’s IP address
with this parameter. It is ignored if the server is
already connected.
port=port Set connection port. NetBios connections are usually
made on port 139. If you want to connect on a different
port, you can supply a decimal port number with this
parameter. This parameter is ignored if the server is
already connected.
ro Mount as read-only filesystem.
username=name Username sent to server. By default, the HP CIFS
Client accesses the server under the same user name
as the login name of the user. If you have a different