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] [-t n] [-v[v]...] [-Z n] [//netbiosname:]server:/share prefix user passwd
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/resolv.conf.|
You must specify the netbiosname if:
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-net with the npm-tcpip.so.
The fs-cifs filesystem manager doesn't work properly with the tiny TCP/IP transport layer provided by npm-ttcpip.so.
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-net, npm-tcpip.so, npm-ttcpip.so, mount, umount, syslogd
"CIFS filesystem" in the Working With Filesystems chapter of the User's Guide