http://bugs.winehq.org/show_bug.cgi?id=22739
Summary: winecfg fails to apply some drive mappings to the WINEPREFIX/dosdevices directory Product: Wine Version: 1.1.44 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: programs AssignedTo: wine-bugs@winehq.org ReportedBy: alexandru.balut@gmail.com
- Install a second HDD in your computer, make sure Ubuntu can use it: it appears in /etc/fstab, it is mounted on /media/disk, etc. (I tried to reproduce the problem with a file mounted as ext2fs, but it works) - Run winecfg: (export WINEPREFIX=~/.winetmp && rm -rf $WINEPREFIX && export WINEDEBUG=winecfg && winecfg) - Click Drives, click Autodetect..., click Apply, notice E: appears to be mapped to /media/disk - ls -l ~/.winetmp, notice there is no "e:" link
The lines below show up when I click Apply:
warn:winecfg:set_drive_label unable to set volume label for devicename of L"E:\", label of L"" trace:winecfg:PRINTERROR error: 'Not ready' trace:winecfg:set_drive_serial Putting serial number of 00000000 into file 'E:.windows-serial' trace:winecfg:apply_drive_changes set drive e: to "/media/disk" type 3
Regarding the last one, I looked at winecfg/drive.c, in apply_drive_changes, and the "set drive" message is displayed when DeviceIoControl succeeds. My understanding is that the DeviceIoControl is supposed to create those links, so it seems it fails.
Ubuntu 10.04 64
I also tried with wine-1.1.42, and it has the same behavior.