Click to See Complete Forum and Search --> : Making SMBMOUNT Permanent


unclebyron
01-31-2002, 06:53 PM
I am connecting a Linux machine to shares on other Windows and Linux PC's through SMBMOUNT. I have no problem getting it to mount the shares to local directories and I can view them. But when I reboot the Linux machine I have to reSMBMOUNT all over again. What file do I edit? MTAB? FSTAB? or something else so that they will stay mounted?
Thanks

mdwatts
01-31-2002, 07:55 PM
/etc/mtab is used by the system, so don't touch that.

You got it right with /etc/fstab as you need to add the mountpoint with a filesystem type of smbfs.

I'm not sure of the exact syntax though the manpages for fstab and smbmount should tell you.