Warning: THE VOID WIKI IS DEPRECATED. It is no longer being maintained, contains outdated and incorrect information, and will eventually be shut down. Please refer to the Void Handbook, https://docs.voidlinux.org/, for the official documentation. If you can't find the information you're seeking, please raise an issue at https://github.com/void-linux/void-docs/issues


From Void Linux Wiki
Jump to navigation Jump to search

This page contains information on various use cases of Samba on Void.


You'll want to install cifs-utils and smbclient.

Mounting SMB Shares


Here is an example fstab entry, from the Samba wiki:

//	/mnt/oneterra		cifs	guest,_netdev,uid=mike 0 0

_netdev is used to wait until a network is brought up before mounting.

Tip: You can also use noauto to keep the system from automatically mounting the share.

Via Command Line

here is an example command from the Samba wiki:

mount -t cifs -o user=luke // /mnt/linky_share


Install the server by running:

# xbps-install -S samba

Enable the server by running:

# ln -s /etc/sv/smbd /var/service/

Edit the default configuration file using your favorite editor:

# vim /etc/samba/smb.conf