Click to See Complete Forum and Search --> : Mapping a network drive in Linux


sym
08-17-2001, 10:31 AM
Something I don't remember seeing in any of my manuals is how to do the equivelant of mapping a windows network share in Linux.


i.e. Computer X has share Share$, in windows, I map a network drive to \\computer x\Share$. How is this done in Linux?

Thanks!

jaygee432
08-17-2001, 10:43 AM
Just mount the windows share such as a drive to a linux directory. For example, if your windows id. was bob, you had designated drive c as sharable, and had created the empty folder /home/shared, as root you could type smbmount //bob/c /home/shared. To unmount it, type umount /home/shared. I believe you could edit /etc/fstab to do this automotically. You could also use a frontend such as linneighborhood. ;)

sym
08-17-2001, 11:11 AM
It worked, I had to use :

mount -t smbfx -o username=<arg>,password=<arg>,ip=<arg> //pcname/sharename /mountpt

It worked great, thanks!