Common Internet Filesystem or SMB client filesystem (QNX Neutrino)
fs-cifs [-a] [-D] [-d name] [-g] [-h] [-L|-l] [-o option[,option...]] [-s mode] [-t n] [-v[v]...] [-Z n] [[//netbiosname:]server:/share prefix user passwd]
QNX Neutrino
If fs-cifs failed to authenticate with the server using an encrypted password, it used to then attempt to authenticate with the server using an older method while sending the password unencrypted. In QNX Neutrino 6.3.2 and later, fs-cifs sends the password encrypted, unless you specify the option -o plainpwd. You might need this option when mounting shares on older versions of Windows.
The default is to use signatures in non-guest sessions if the server requires or supports signatures.
The default is neither. For more information, see Pathname Management in the Process Manager chapter of the System Architecture guide.
You must specify the netbiosname if:
Or:
The fs-cifs filesystem manager is an SMB (also known as CIFS — Common Internet Filesystem) client operating over TCP/IP. SMB is a protocol for accessing resources in a controlled fashion over a LAN.
The fs-cifs filesystem manager is primarily intended for use as a client with Windows NT machines, although it also works with any SMB server (such as OS/2 Peer, LAN Manager, or SAMBA). To use fs-cifs, you must have an SMB server and a valid login on that server.
The fs-cifs filesystem manager also requires a TCP/IP transport layer, such as the one provided by io-pkt*.
You can mount SMB filesystems at the same time as you start fs-cifs; you can also mount them separately after you have started fs-cifs using the mount command.
If you want to mount filesystems separately, start fs-cifs without arguments, as a daemon, then create your mountpoints using mount specifying cifs as the type. See below for an example.
If syslogd is running, fs-cifs writes any error messages to the system log.
Start fs-cifs and mount the QNX_BIN share as /bin from an SMB server named SMB_SERVER (with IP address 10.0.0.1) using the guest account and a password of none:
fs-cifs SMB_SERVER:/QNX_BIN /bin guest none
Or:
fs-cifs 10.0.0.1:/QNX_BIN /bin guest none
The same as the above, but with a server, called NB_NAME, running a Microsoft operating system:
fs-cifs //NB_NAME:SMB_SERVER:/QNX_BIN /bin guest none
Or:
fs-cifs //NB_NAME:10.0.0.1:/QNX_BIN /bin guest none
Ask the user for the password:
fs-cifs -L //NB_NAME:SMB_SERVER:/QNX_BIN /bin guest
Ask the user for the name of the user and the password:
fs-cifs -l //NB_NAME:SMB_SERVER:/QNX_BIN /bin
Mounts the server as the user in the QNX domain:
fs-cifs -d QNX //MS:10.1:/QNX_BIN /mnt user passwd
Start fs-cifs as a daemon, then mount the QNX_BIN share as /bin from an SMB server named SMB_SERVER (with IP address 10.0.0.1) using the guest account and a password of none:
fs-cifs &
Then:
mount -t cifs -o guest,none //SMB_SERVER:10.0.0.1:/QNX_BIN /bin
or:
mount -t cifs -o user=guest,password=none \ //SMB_SERVER:10.0.0.1:/QNX_BIN /bin
When the filesystem is mounted, everybody who uses the filesystem does so with the privileges of the user specified on the command line.
The passwd argument is required on the command-line even if user doesn't require a password; it can be anything other than whitespace.