Click to See Complete Forum and Search --> : mounting sharing
leonz
07-23-2001, 01:58 PM
I tried to connect to my housemates comp which is running win98 by using "mount -t smbfs //kelsph/mp3 /mycomp/mp3" and it worked. But I need to mount it all the time when I restart the linux. I guess we need to write something in /etc/fstab, right? But I can't figure out it..
:confused:
Malakin
07-24-2001, 04:09 AM
You didn't mention your disto but most likely if you want a command to run at startup you can put it in /etc/rc.local
leonz
07-25-2001, 04:52 PM
ooh .. I am using Mandrake 8 now... please verify .. so I just need to add the command inside the file? :rolleyes:
Thanks ..
bdg1983
07-25-2001, 07:55 PM
I never seem to have the time to try Samba, but I do know of the NHF http://www.linuxnewbie.org/nhf/intel/network/samba/samba1.html
As long as Samba is started during boot, then adding that line to /etc/fstab should work.
Also check the smbfs manpage (man smb or man smbfs) if they exist.
There should be docs at www.samba.org (http://www.samba.org) to tell you exactly what needs to be done to automount Samba mounts.