The smbfs file system allows you to mount CIFS shares that are exported from Windows or compatible systems. SMB is the historical name for the CIFS protocol, which stands for Server Message Block and is more commonly used in technical contexts.
The smbfs file system permits ordinary UNIX applications to change directory into an smbfs mount and perform simple file and directory operations. Supported operations include open, close, read, write, rename, delete, mkdir, rmdir and ls.
Limitations
Some local UNIX file systems (for example UFS) have features that are not supported by smbfs. These include:
o
A server disconnect is not automatically reconnected.
o
No mapped-file access because mmap(2) returns ENOSYS.
o
Locking is local only and is not sent to the server.
The following are limitations in the CIFS protocol:
o
unlink() or rename() of open files returns EBUSY.
o
rename() of extended attribute files returns EINVAL.
o
Creation of files with any of the following illegal characters returns EINVAL: colon (:), backslash (\), slash (/), asterisk (*), question mark (?), double quote
("), less than (<), greater than (>), and vertical bar (|).
o
chmod and chown settings are silently discarded.
o
Links are not supported.
o
Symbolic links are not supported.
o
mknod is not supported. (Only file and directory objects are supported.)
ATTRIBUTES
See attributes(5) for descriptions of the following attributes: