Mount samba shares from fstab

So... I had to check my backups just to figure out how to mount my shares. How annoying is that? On Debian-based systems you need to install cifs-utils.

//host/share   /mnt/share      cifs   defaults 0 0

# Bonus example, password protected shares
//host/share   /mnt/share      cifs   defaults,credentials=/etc/fstab_credentials 0 0

# /etc/fstab_credentials contains
Published on April 11, 2013 at 9:47 p.m. by Nicolas and tagged smbfs, cifs. You can follow the discussion with the comment feed for this post. Feeling generous? Donate!


Start a new thread

Cancel reply
Markdown. Syntax highlighting with <code lang="php"><?php echo "Hello, world!"; ?></code> etc.