SMBFS(7FS) | File Systems | SMBFS(7FS) |
smbfs
—
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(2),
close(2),
read(2),
write(2),
rename(2),
rm(1),
mkdir(1),
rmdir(1), and
ls(1).
smbfs
. These include:
ENOSYS
.The following are limitations in the CIFS protocol:
EINVAL
.EINVAL
: colon (:), backslash (\), slash (/),
asterisk (*), question mark (?), double quote ("), less than
(⟨), greater than (⟩), and vertical bar (|).The current smbfs
implementation does not
support multi-user mounts. Instead, each Unix user needs to make their own
private mount points.
Currently, all access through an smbfs
mount point uses the Windows credentials established by the user that ran
the mount(1) command. Normally,
permissions on smbfs
mount points should be
0700 to prevent Unix users from using each others' Windows
credentials. See the dirperms option to
mount_smbfs(1M) for details
regarding how to control smbfs
mount point
permissions.
An important implication of this limitation is that system-wide mounts, such as those made using /etc/vfstab or automount maps are only useful in cases where access control is not a concern, such as for public read-only resources.
September 9, 2009 | OmniOS |