Mount Samba share using fstab

To mount a Samba share when Linux system comes up after  reboot edit the /etc/fstab file and put entry as follows for your  Windows/Samba share:

//ntserver/share /mnt/samba smbfs username=username,password=password 0 0

For example, if you want to mount a share called //ntserver/docs then you need to write following entry in /etc/fstab file:

//192.168.0.1/share /mnt/samba smbfs username=nikesh,password=passwd123 0 0

Link

http://linuxpoison.blogspot.com/2007/10/mount-samba-share-using-fstab.html

Kommentar verfassen

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.