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.

Raw
//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
username=foo
password=bar

0 comments

Reply

Cancel reply
Markdown. Syntax highlighting with <code lang="php"><?php echo "Hello, world!"; ?></code> etc.
DjangoPythonBitcoinTuxDebianHTML5 badgeSaltStackUpset confused bugMoneyHackerUpset confused bugX.OrggitFirefoxWindowMakerBashIs it worth the time?i3 window managerWagtailContainerIrssiNginxSilenceUse a maskWorldInternet securityPianoFontGnuPGThunderbirdJenkinshome-assistant-logo