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

Peter Smith pasmith at wbmpl.com.au
Thu Aug 12 03:45:28 UTC 2004


Andrew Konosky wrote:

> Chris McD wrote:
>
>>Andrew Konosky wrote:
>>  
>>
>>>> 
>>>>
>>>>      
>>>>
>>>Okay, the names of the windows drive is simply the partition name "C." I 
>>>don't have it setup to require username or password. What is the correct 
>>>format for the fstab entry?
>>>
>>>192.168.1.101:C    /mnt/network/192.168.1.101/    smbfs    
>>>noauto,user,rw    0 0
>>>
>>>
>>>    
>>>
>>
>>you haven't got the syntax quite right.  
>>The fstab entry for mounting my router's smb share looks like this (all on one
>>line of course):
>>
>>//192.168.7.5/chris    /mnt/router  smbfs  
>>credentials=/root/.routercreds,uid=chris,umask=0744      0 0
>>
>>you can probably ignore the credentials part. the share is named chris on the
>>other machine. 
>>
>>hope this helps
>>
>>Chris 
>>
>>
>>
>>  
>>
> Okay, the computer I am mounting is my brothers, and he downloads crap 
> all the time (game hacks, cheats, paintball videos, etc...), so I  
> want to be able to check it often for viruses. I already do this from 
> Windows, but I am rarely running windows anymore. In windows, my 
> computer's name is ANDREW and his is CARL. From network neighborhood, 
> the pathanme is //CARL/C. In fstab, I tried doing //192.168.1.101/C 
> and //192.168.1.101/CARL/C and 192.168.1.101/CARL, and I tried all in 
> lower-case too, but I am still getting an error:
>
> Called: mount //192.168.1.101/carl/c
> 2994: session request to 192.168.1.101 failed (Called name not present)
> 2994: session request to 192 failed (Called name not present)
> 2994: session request to *SMBSERVER failed (Called name not present)
> SMB connection failed
>
> What next?
> !DSPAM:411ad894224531464258108! 

You need "//CARL/C$".  That is the default name for the C: drive in Windows.

Regards,
Peter Smith





More information about the fedora-list mailing list