Common Internet Filesystem or SMB client filesystem (QNX Neutrino)
|You must be root to start this manager.|
fs-cifs [-a] [-b] [-D] [-d name] [-h] [-L|-l] [-o option[,option...]] [-t n] [-v[v]...] [-Z n] [[//netbiosname:]server:/share prefix user passwd]
|Write buffering is disabled in the code, whether or not you specify this option.|
|Sending passwords in plain text may be considered a security problem.|
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.
|Adding the password to the log file may be a security problem if unauthorized personal have access to the log file.|
The default is neither. For more information, see “Ordering mountpoints” in the Process Manager chapter of the System Architecture guide.
|If you specify a server name, there must be some way to resolve it to an IP address. See /etc/hosts or /etc/nsswitch.conf.|
You must specify the netbiosname if:
|If your password includes characters that the shell considers to be special, you might have to enclose the password in quotation marks.|
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
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
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:
mount -t cifs -o guest,none //SMB_SERVER:10.0.0.1:/QNX_BIN /bin
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.
fs-nfs2, fs-nfs3, io-pkt*, mount, /etc/nsswitch.conf, umount, syslogd
Filesystems chapter of System Architecture
QNX Neutrino User's Guide: