mounting windows shares at boot?

Joachim Feise jfeise at ics.uci.edu
Sat Jan 12 10:07:06 GMT 2002


Ernie Schroder wrote:
> 
> Hi All,
> Forgive my ignorance but I can't seem to find documentation on how to mount
> windows shares at boot, or short of that how to mount all win shares with one
> command. I'm running a simple home network of 2 win98 and 2 RedHat7.2 boxes
> behind a linsys router Thanks in advance for your advice

Add it to your /etc/fstab, like this:
//machine/share /mnt smbfs username=user,password=passwd  0  0

This should mount the share on boot, or with mount -a -t smbfs

-Joe




More information about the samba mailing list