smbfs(4)

smbfs4

Server message block (smb1/cifs) file system

Usage

To compile this driver into the kernel, place the following lines in your kernel configuration file:

option NETSMB

Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):

smbfs_load="YES"

Overview

The SMB driver is an implementation of the CIFS (Common Internet Filesystem) network protocol.

The smbfs filesystem driver supports only the obsolete SMBv1 protocol. smbfs has known bugs and likely has security vulnerabilities. smbfs and userspace counterparts smbutil(1) and mount_smbfs(8) may be removed from a future version of FreeBSD. Users are advised to evaluate the filesystems/smbnetfs port instead.

Releases

Unchanged in 3 releases since FreeBSD 15.0-RELEASE.

  1. 15.0–16.0

Standards

Common Internet File System (CIFS) Protocol, MS-CIFS, December 2018, https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-cifs/.

I. Heizer, P. Leach, and D. Perry, Common Internet File System Protocol (CIFS/1.0), June 13, 1996, https://tools.ietf.org/html/draft-heizer-cifs-v1-spec-00.

History

The smbfs device driver first appeared in FreeBSD 4.4.

Authors

The smbfs device driver was written by Boris Popov ⟨[email protected]⟩. The manual page was contributed by Gordon Bergling ⟨[email protected]⟩.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.