http://bugs.winehq.org/show_bug.cgi?id=9569
Summary: automatically set up dosdevices on first run Product: Wine Version: 0.9.44. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: wine-binary AssignedTo: wine-bugs@winehq.org ReportedBy: michael.s.gilbert@gmail.com
it would be very useful for wine to automatically set up all of its dosdevices during its first run (when the .wine directory gets created).
the user can manually do this today with the "autodetect" feature under the "drives" tab in winecfg, but it would make a lot of sense to have it done automatically (maybe on subsequent wine runs the devices list should be automatically repopulated if there are changes like a new disk drive).
http://bugs.winehq.org/show_bug.cgi?id=9569
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2007-09-02 22:25:29 --- That "Autodetect" feature is completely broken. What exactly is that you missing? Wine maps Z: to your root - which gives you full access to anything you have in your system.
http://bugs.winehq.org/show_bug.cgi?id=9569
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|wine-binary |wine-programs
--- Comment #2 from Vitaliy Margolen vitaliy@kievinfo.com 2007-09-02 22:26:36 --- Core part of Wine has nothing to do with it. Explorer is the closer place.
http://bugs.winehq.org/show_bug.cgi?id=9569
--- Comment #3 from Michael Gilbert michael.s.gilbert@gmail.com 2007-09-02 22:33:43 --- well, i would expect there to be a unique drive letter for each separate disk partition mounted on the system. for example my /home is a separate partition than /, and i have a second hard disk as well. i also have two dvd drives. i would expect each of them to get a different drive letter assigned automatically without my intervention.
http://bugs.winehq.org/show_bug.cgi?id=9569
--- Comment #4 from Vitaliy Margolen vitaliy@kievinfo.com 2007-09-02 22:38:12 --- (In reply to comment #3)
well, i would expect there to be a unique drive letter for each separate disk partition mounted on the system. for example my /home is a separate partition than /, and i have a second hard disk as well. i also have two dvd drives. i
You not on windows, that would be major hindrance for any Linux user so that part would be [WONTFIX]
would expect each of them to get a different drive letter assigned automatically without my intervention.
Works perfectly here. What distro? How did you installed Wine?
http://bugs.winehq.org/show_bug.cgi?id=9569
--- Comment #5 from Michael Gilbert michael.s.gilbert@gmail.com 2007-09-02 22:45:55 --- (In reply to comment #4)
well, i would expect there to be a unique drive letter for each separate disk partition mounted on the system. for example my /home is a separate partition than /, and i have a second hard disk as well. i also have two dvd drives.
You not on windows, that would be major hindrance for any Linux user so that part would be [WONTFIX]
the problem is that windows applications on wine don't see the correct free space unless a dosdevice is set up specifically for that partition.
would expect each of them to get a different drive letter assigned automatically without my intervention.
Works perfectly here. What distro? How did you installed Wine?
installed on debian using the deb here http://wine.budgetdedicated.com/archive/index.html. wine did automatically set up dosdevices for c:=/home/user/.wine and z:=/, but did not set up dosdevices for the dvd drives.
http://bugs.winehq.org/show_bug.cgi?id=9569
--- Comment #6 from Vitaliy Margolen vitaliy@kievinfo.com 2007-09-02 22:51:20 --- Are you on 64-bit? If so, then you probably missing 32-bit HAL
http://bugs.winehq.org/show_bug.cgi?id=9569
--- Comment #7 from Vitaliy Margolen vitaliy@kievinfo.com 2007-09-02 22:53:39 --- Make sure you have _data_ cd-rom/dvd-rom mounted, and run winecfg with this command:
WINEDEBUG=+explorer winecfg
Attach output here (as file, do not paste).
http://bugs.winehq.org/show_bug.cgi?id=9569
--- Comment #8 from Michael Gilbert michael.s.gilbert@gmail.com 2007-09-02 23:10:52 --- Created an attachment (id=7939) --> (http://bugs.winehq.org/attachment.cgi?id=7939) debug
http://bugs.winehq.org/show_bug.cgi?id=9569
--- Comment #9 from Michael Gilbert michael.s.gilbert@gmail.com 2007-09-02 23:20:10 --- with a disk mounted, it looks like the one drive was detected twice, and nothing with the other drive. i ended up with a "d:" and a "d::" dosdevice. it seems like i should get the same dosdevices whether or not the disk was mounted, and the d:: seems erroneous.
however, this is getting away from the original point of the report, and should probably be filed as a separate bug. the original point was that i think the dosdevices should be automatically set up for all partitions. e.g. h:=/home/user, b:=/boot, g:=/mnt/disk2, a:=/mnt/floppy, etc.
http://bugs.winehq.org/show_bug.cgi?id=9569
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX
--- Comment #10 from Vitaliy Margolen vitaliy@kievinfo.com 2007-09-02 23:41:22 --- (In reply to comment #9)
with a disk mounted, it looks like the one drive was detected twice, and nothing with the other drive. i ended up with a "d:" and a "d::" dosdevice. it seems like i should get the same dosdevices whether or not the disk was mounted, and the d:: seems erroneous.
Don't assume something you do not know. This is 100% correct. d:: is the device link, d: is the mount pont
however, this is getting away from the original point of the report, and should probably be filed as a separate bug. the original point was that i think the dosdevices should be automatically set up for all partitions. e.g. h:=/home/user, b:=/boot, g:=/mnt/disk2, a:=/mnt/floppy, etc.
No that is not the way it should work.
http://bugs.winehq.org/show_bug.cgi?id=9569
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Vitaliy Margolen vitaliy@kievinfo.com 2007-09-02 23:41:56 --- Closing, invalid/wontfix.
http://bugs.winehq.org/show_bug.cgi?id=9569
--- Comment #12 from Vitaliy Margolen vitaliy@kievinfo.com 2007-09-03 00:23:06 --- BTW if you really think that this is the way Wine should do it, make and send the patch to wine-patches. There you will have an opportunity for more people to chime in on it. However this proposition was discussed before and was rejected. Thus the resolution of this bug.
Also just something for you to think about, how will you handle raid arrays? LVMs? And don't forget the more important question, how will windows programs handle that?
Also don't forget about that on windows you can have things like reparse points, or partitions without drive letters assigned to them.
And that there are lots of ... outright broken software that wants to scan all fixed drives (just in case) when you start them/install them.
http://bugs.winehq.org/show_bug.cgi?id=9569
--- Comment #13 from Michael Gilbert michael.s.gilbert@gmail.com 2007-09-03 01:05:38 --- (In reply to comment #12)
However this proposition was discussed before and was rejected. Thus the resolution of this bug.
do you have a link to the discussion? i will read up so i can understand the decision.
Also just something for you to think about, how will you handle raid arrays? LVMs? And don't forget the more important question, how will windows programs handle that?
if i remember right, raids can be mounted as one partition (linux), and equivalently as one drive letter (windows). never dealt with an lvm.
Also don't forget about that on windows you can have things like reparse points, or partitions without drive letters assigned to them.
didn't know that. is it necessary to support something so obscure?
http://bugs.winehq.org/show_bug.cgi?id=9569
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #14 from Dan Kegel dank@kegel.com 2007-09-04 02:55:14 --- Michael, it *does* already do what you want if HAL is working.