Simple snippet to remember how to add smb mounts to /etc/fstab
mkdir /mnt/ShareName
chmod 0755 /mnt/ShareName
nano /etc/fstab
//ipaddress/ShareName /mnt/ShareName cifs username=user,password=pass,rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
ctrl x to save
mount -a
To unmount the drive
umount /mnt/ShareName
Important note to never unmount all drives!
umount -a
Leave a Reply