How do I mount a windows partition from another computer on the network?

Robert Locke rlocke at ralii.com
Thu Aug 12 14:38:33 UTC 2004


On Thu, 2004-08-12 at 10:22, Andrew Konosky wrote:
> Well, now I am not getting any errors telling me the file isn't there, 
> so I must have the syntax right now, but now it can't connect!
> 
> //192.168.1.101://CARL/C$    /mnt/network/192.168.1.101/C    smbfs    
> uid=0,gid=500,umask=002,user    0 0
> 

I'm coming in late on this thread and have lost most of the beginning of
it, but one thing that doesn't look right to me is the device name...

Assuming you have a way to resolve the hostname CARL to the IP address
192.168.1.101, then the line would be:

//CARL/C$   /mnt/network/192.168.1.101/C   smbfs 
uid=0,gid=500,umask=002,user   0 0

Otherwise, if you do not have a way to resolve the hostname CARL, the
following "might" work:

//192.168.1.101/C$   /mnt/network/192.168.1.101/C   smbfs 
uid=0,gid=500,umask=002,user   0 0

But I would prefer to get the hostname squared away, perhaps by just
adding a line to the machine's /etc/hosts file:

192.168.1.101     CARL

Lastly, this all assumes that you have the mountpoint directory already
created, perhaps by running the following command:

mkdir -p /mnt/network/192.168.1.101/C

Then to test if it is functional, just run (since we hate reboots):

mount /mnt/network/192.168.1.101/C

Hope that helps,

--Rob






More information about the users mailing list