Re: Mapping network drive on Linux

2005-08-31 Thread Robert Kern
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?

Re: Mapping network drive on Linux

2005-08-31 Thread Steve M
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

Mapping network drive on Linux

2005-08-31 Thread Thierry Lam
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