[Samba] How to automount windows share?

Joel Hammer Joel at HammersHome.com
Wed Jan 15 11:01:02 GMT 2003


You might just put the mount command into one of your startup scripts.
For example, you could put this into your network start/stop script. I would
put both the mount and the umount command into the appropriate parts of
that script, so the smb file is unmounted when the network is taken down.

When you do this, keep in mind that the startup scripts don't have much path
information, so, include the full path name to your mount command, just to
be on the safe side.

Joel



On Tue, Jan 14, 2003 at 11:55:43PM -0800, Adam wrote:
> I am using XP as a fileserver and I would like to have linux mount the 
> share automatically when it starts up.  I added a line to my /etc/fstab 
> and I can now mount the mount point but it still doesn't mount 
> automatically at startup.
> 



More information about the samba mailing list