Thierry Lam wrote:
> On windows, if I want to map a network drive to a local drive on my
> computer, I do the following:
>
> data = {
> 'remote' : '\\blah\data',
> 'local' : 'Z:'
>}
>win32net.NetUseAdd(None, 1, data)
>
> How am I supposed to do similar thing on Linux?
You can approximate it by doing this at the command prompt:
# mkdir /z
#mount //blah/data /z
I assume 'blah' is the hostname for a Windows machine and 'data' is the
name of a share on blah. You might need to install smbfs and/or use
'mount.smb' and/or use 'mount -t smbfs'. Of course this can all b
On windows, if I want to map a network drive to a local drive on my
computer, I do the following:
data = {
'remote' : '\\blah\data',
'local' : 'Z:'
}
win32net.NetUseAdd(None, 1, data)
How am I supposed to do similar thing on Linux?
Thanks
Thierry
--
http://mail.p