[Bug 22080] New: Wine removes custom drive mappings
http://bugs.winehq.org/show_bug.cgi?id=22080 Summary: Wine removes custom drive mappings Product: Wine Version: 1.1.40 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: sub.mesa(a)gmail.com Wine appears to be forgetting or removing my drive mappings. I have an NFS filesystem mouned on /nfs, i am the owner of that directory with appropriate write permissions. I do something like this: # create new wine directory mkdir /nfs/winetest # populate wine directory WINEPREFIX=/nfs/winetest/ winecfg # Now i go to Drives tab, make a new D-drive, set it to /nfs, then click Apply # close winecfg # when i launch winecfg again, the /nfs D-drive is still there # so far so good # now launch some random application on the NFS-mount cd /nfs/ WINEPREFIX=/nfs/winetest/ wine "D:\\prip\\setup.exe" # result: wine: module not found; application does not start properly # now check winecfg again: WINEPREFIX=/nfs/winetest/ winecfg # now our D-drive mapping isn't set to anything; its empty. So it appears wine removes my custom drive mappings whenever an application is launched or tries to access its DLLs located there. If i did something wrong, i'm not aware of it. Wine should just accept the D-drive and launch the application, not removing my drive mapping. I also tested without using NFS; on my home directory. mkdir ~/winetest mkdir ~/driveD WINEPREFIX=/home/<user>/winetest winecfg # set drive D to map to /home/<user>/driveD/ type Local Disk # click apply & close winecfg cp -p ~/nfs/prip/setup.exe ~/driveD/ WINEPREFIX=/home/<user>/winetest/ wine "D:\\setup.exe" # result: fails again, drive D gone. I'm using Ubuntu 9.10 64-bit, wine 1.1.40 per winehq.org PPA; no modifications. The latest .41 versions is not in your PPA yet, so i can't test. Can anyone confirm this bug? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22080 --- Comment #1 from sub.mesa(a)gmail.com 2010-03-20 08:54:42 --- Hmm, may have found the curlpit, though it does look like some wine bug. When i look at my dosdevices directory in a fresh wine directory, i can see funny things: c: -> ../drive_c d: -> /nfs d:: -> /dev/sr0 z: -> / So where does d:: come from? If i delete it, and run winecfg again, it is created again. 1) why doesn't wine show this cd-rom device in winecfg? 2) why does wine use a double ":" in d:: ? 3) why does wine allow me to create a d-drive if the d-letter is already taken? Something doesn't appear right here.. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22080 --- Comment #2 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2010-03-21 01:17:59 --- (In reply to comment #1)
d: -> /nfs d:: -> /dev/sr0 A long long known problem. Mount a cd before starting Wine.
-- 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.
http://bugs.winehq.org/show_bug.cgi?id=22080 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22080 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, integration -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22080 Vitaliy Margolen <vitaliy-bugzilla(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |programs Severity|normal |trivial --- Comment #3 from Vitaliy Margolen <vitaliy-bugzilla(a)kievinfo.com> 2011-11-16 20:24:15 CST --- Winecfg bug. It shouldn't be using d: drive here. Also bug doesn't depend on nfs. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22080 Dmitry Timoshkov <dmitry(a)baikal.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Wine removes custom drive |winecfg removes custom |mappings |drive mappings -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22080 Vitaliy Margolen <vitaliy-bugzilla(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|winecfg removes custom |Wine removes custom drive |drive mappings |mappings Ever Confirmed|0 |1 --- Comment #4 from Vitaliy Margolen <vitaliy-bugzilla(a)kievinfo.com> 2011-11-16 23:00:48 CST --- It's Wine (mount manager) that removes incorrect mapping. Winecfg is what puts it there in the first place. And confirming. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22080 --- Comment #5 from Dmitry Timoshkov <dmitry(a)baikal.ru> 2011-11-16 23:22:02 CST --- Wine is the product name and is too broad/meaningless in the bug summary. Component should be probably set to mountmgr.sys then. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22080 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|programs |mountmgr.sys -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22080 --- Comment #6 from Vitaliy Margolen <vitaliy-bugzilla(a)kievinfo.com> 2011-11-17 08:37:42 CST --- Mount manager does the right thing - it remove a mount point for an unmounted device. Winecfg is what at fault here. It shouldn't be allowing to use d: drive. Or it should remove device mapping for it (d::). -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22080 Fernando Martins <fernando(a)cmartins.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fernando(a)cmartins.nl --- Comment #7 from Fernando Martins <fernando(a)cmartins.nl> 2012-04-08 08:31:27 CDT --- I have a couple extra partitions /home and /fun and this is what I get in a new prefix when I just start winecfg: lrwxrwxrwx 1 nando users 8 2012-04-07 08:43 a:: -> /dev/fd0 lrwxrwxrwx 1 nando users 10 2012-04-07 08:42 c: -> ../drive_c lrwxrwxrwx 1 nando users 8 2012-04-07 08:43 d:: -> /dev/sr0 lrwxrwxrwx 1 nando users 8 2012-04-07 08:43 e:: -> /dev/sr1 lrwxrwxrwx 1 nando users 8 2012-04-07 08:43 f:: -> /dev/sr2 lrwxrwxrwx 1 nando users 1 2012-04-07 08:42 z: -> / If I do autodetect in winecfg on a 2nd run, I get: lrwxrwxrwx 1 nando users 14 2012-04-07 08:40 a: -> /media/floppy0 lrwxrwxrwx 1 nando users 10 2012-04-07 08:40 c: -> ../drive_c lrwxrwxrwx 1 nando users 13 2012-04-07 08:40 f: -> /media/cdrom0 lrwxrwxrwx 1 nando users 9 2012-04-07 08:40 f:: -> /dev/scd0 lrwxrwxrwx 1 nando users 11 2012-04-07 08:40 h: -> /home/nando lrwxrwxrwx 1 nando users 1 2012-04-07 08:40 z: -> / wine 1.5.1 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22080 --- Comment #8 from Fernando Martins <fernando(a)cmartins.nl> 2012-04-08 08:39:09 CDT --- sorry, let me add, if I add manually drive G: mapped to /fun, I get lrwxrwxrwx 1 nando users 14 2012-04-07 08:45 a: -> /media/floppy0 lrwxrwxrwx 1 nando users 8 2012-04-07 08:49 b:: -> /dev/fd0 lrwxrwxrwx 1 nando users 10 2012-04-07 08:42 c: -> ../drive_c lrwxrwxrwx 1 nando users 8 2012-04-07 08:49 e:: -> /dev/sr0 lrwxrwxrwx 1 nando users 13 2012-04-07 08:45 f: -> /media/cdrom0 lrwxrwxrwx 1 nando users 11 2012-04-07 08:45 h: -> /home/nando lrwxrwxrwx 1 nando users 8 2012-04-07 08:49 i:: -> /dev/sr2 lrwxrwxrwx 1 nando users 1 2012-04-07 08:42 z: -> / notice the extra i:: There are more differences but I can't tell when they happened since I had more runs of wine in two days between both comments. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=22080 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source --- Comment #9 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- Is this still an issue in Wine 1.7.45 or later? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=22080 --- Comment #10 from Fernando Martins <fernando(a)cmartins.nl> --- This is still an issue in 3.10. Winecfg detects and defines drives for several mount point points but they are not saved (or removed by mount manager??) -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22080 Theo van Rijn <trijn111(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |trijn111(a)gmail.com --- Comment #11 from Theo van Rijn <trijn111(a)gmail.com> --- Issue is caused by wine, which changes the configuration set by winecfg. Winecfg should set the values registry in HKEY_LOCAL_MACHINE, L"Software\\Wine\\Drives" But the code in /dlls/mountmgr.sys/device.c has in add_dos_device code marked with /* hack: force the drive type in the registry */ and in remove_dos_device remove ALL the entries in KEY_LOCAL_MACHINE, L"Software\\Wine\\Drives" removing the entries set by winecfg and by add_dos_device. I think the /* hack can be removed ! But since I have problems with compile and make wine, I have changed winecfg, so in load_drives it sets the right device type (DRIVE_REMOVABLE) to all devices that have "eReader" in its name. Source will be attached. When first start changed winecfg, second Abobe Digital Edition, The later finds the KOBOeReader, and ebooks can be copied to if. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22080 --- Comment #12 from Theo van Rijn <trijn111(a)gmail.com> --- Created attachment 79034 --> http://bugs.winehq.org/attachment.cgi?id=79034 drive.c from winecfg -- 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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla