[Bug 425] Network UNC path handling
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Apr 10 09:50:42 CDT 2008
http://bugs.winehq.org/show_bug.cgi?id=425
--- Comment #9 from Dan Kegel <dank at kegel.com> 2008-04-10 09:50:41 ---
A user asked about this today
http://www.winehq.org/pipermail/wine-users/2008-April/032049.html
and pointed out that UNC paths are officially supported (see "Network Shares"
in
http://www.winehq.org/site/docs/wineusr-guide/misc-things-to-configure ),
so I looked at it a tiny bit.
Sure enough, if you smbmount something onto
dosdevices/unc/servername/sharename,
$ sudo apt-get install smbfs
$ sudo vi /etc/hosts (and add entry for name of windows machine 'fast')
$ smbmount -L fast (and verify the expected share is visible)
$ sudo mount -t smbfs //fast/dank /mnt
$ cd $HOME/.wine/dosdevices/
$ mkdir -p unc/fast
$ ln -s /mnt unc/fast/dank
you get the same results executing either /mnt/a.exe or \\fast\dank\a.exe:
$ wine /mnt/a.exe
err:module:import_dll Library cygwin1.dll (which is needed by
L"Z:\\mnt\\a.exe") not found
$ wine '\\fast\dank\a.exe'
err:module:import_dll Library cygwin1.dll (which is needed by
L"UNC\\fast\\dank\\a.exe") not found
So that's great. However, cmd doesn't support it:
$ wine cmd
CMD Version 0.9.59
Z:\home\dank>dir \\fast\dank
Volume in drive Z is
Volume Serial Number is 0000-0000
Directory of Z:\fast
File not found
See how it doesn't even recognize it's a UNC drive?
Likewise, Notepad can't browse to a UNC path.
Rob Shearman posted a patch this morning that seemed related,
http://www.winehq.org/pipermail/wine-patches/2008-April/053118.html
but that doesn't magically make Network Places show up in
Notepad's file dialog in my tests.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list