linux poison RSS
linux poison Email

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:

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


Post a Comment

Related Posts with Thumbnails