1smbfs(7FS)                       File Systems                       smbfs(7FS)
2
3
4

NAME

6       smbfs - CIFS/SMB file system
7

DESCRIPTION

9       The smbfs file system allows you to mount CIFS shares that are exported
10       from Windows or compatible systems. SMB is the historical name for  the
11       CIFS  protocol,  which stands for Server Message Block and is more com‐
12       monly used in technical contexts.
13
14
15       The smbfs file system permits  ordinary  UNIX  applications  to  change
16       directory  into  an  smbfs  mount and perform simple file and directory
17       operations. Supported operations  include  open,  close,  read,  write,
18       rename, delete, mkdir, rmdir and ls.
19
20   Limitations
21       Some  local  UNIX file systems (for example UFS) have features that are
22       not supported by smbfs. These include:
23
24           o      No mapped-file access because mmap(2) returns ENOSYS.
25
26           o      Locking is local only and is not sent to the server.
27
28
29       The following are limitations in the CIFS protocol:
30
31           o      unlink() or rename() of open files returns EBUSY.
32
33           o      rename() of extended attribute files returns EINVAL.
34
35           o      Creation of files with any of the following illegal  charac‐
36                  ters  returns  EINVAL:  colon (:), backslash (\), slash (/),
37                  asterisk (*), question mark (?), double quote ("), less than
38                  (<), greater than (>), and vertical bar (|).
39
40           o      chmod and chown settings are silently discarded.
41
42           o      Links are not supported.
43
44           o      Symbolic links are not supported.
45
46           o      mknod is not supported. (Only file and directory objects are
47                  supported.)
48
49
50       The current smbfs implementation does not  support  multi-user  mounts.
51       Instead, each Unix user needs to make their own private mount points.
52
53
54       Currently,  all  access  through  an smbfs mount point uses the Windows
55       credentials established by the user that ran the  mount  command.  Nor‐
56       mally, permissions on smbfs mount points should be 0700 to prevent Unix
57       users from using each others' Windows  credentials.  See  the  dirperms
58       option  to  mount_smbfs(1M)  for details regarding how to control smbfs
59       mount point permissions.
60
61
62       An important implication of this limitation is that system-wide mounts,
63       such  as those made using /etc/vfstab or automount maps are only useful
64       in cases where access control is not a  concern,  such  as  for  public
65       read-only resources.
66

ATTRIBUTES

68       See attributes(5) for descriptions of the following attributes:
69
70
71
72
73       ┌─────────────────────────┬─────────────────────────────────┐
74       │     ATTRIBUTE TYPE      │         ATTRIBUTE VALUE         │
75       ├─────────────────────────┼─────────────────────────────────┤
76       │Availability             │ SUNWsmbfsu                      │
77       ├─────────────────────────┼─────────────────────────────────┤
78       │Interface Stability      │ Uncommitted                     │
79       └─────────────────────────┴─────────────────────────────────┘
80

SEE ALSO

82       smbutil(1), mount_smbfs(1M), nsmbrc(4), attributes(5)
83
84
85
86SunOS 5.11                        9 Sep 2009                        smbfs(7FS)
Impressum