here is my problem: whenever i manually assigned all of my dosdevices within wine (usb stick f:\, usb hd g:\, sdcard h:\), this very config does not last for long.
for instance, my usb stick (which is connected permanently) gets an additional driveletter j:\ and is listed twice in winecfg.
even when i delete it via winecfg it gets recreated. the same goes for all other devices.
so, is it possible to have a fixed config once and for all?
how to: assign permanent driveletters to dosdevices?
Re: how to: assign permanent driveletters to dosdevices?
Sounds like this longstanding bug: https://bugs.winehq.org/show_bug.cgi?id=22080.
Re: how to: assign permanent driveletters to dosdevices?
Wine uses udisks under the "hood" to get device mappings. Wine uses special :: notation for drive physical (Linux) devices in the "${WINEPREFIX}/dosdevices" directory.
So for my default WINEPREFIX:
So to actually create a permanent mount point for the USB partition 1 on my system:
So now I should (in theory) have a permanent (maybe) E: drive for my USB device partition!!
Give that solution a try and report back if you have any issues...
Bob
So for my default WINEPREFIX:
Code: Select all
cd ~/.wine/dosdevices
'ls' -l
total 0
lrwxrwxrwx 1 robert users 10 Aug 3 06:48 c: -> ../drive_c
lrwxrwxrwx 1 robert users 8 Aug 3 06:48 d:: -> /dev/sr0
lrwxrwxrwx 1 robert users 8 Aug 3 06:48 e:: -> /dev/sdc
lrwxrwxrwx 1 robert users 27 Aug 4 22:10 f: -> /run/media/robert/Easy2Boot
lrwxrwxrwx 1 robert users 9 Aug 3 06:48 f:: -> /dev/sdc1
lrwxrwxrwx 1 robert users 9 Aug 3 06:48 g:: -> /dev/sdc2
lrwxrwxrwx 1 robert users 9 Aug 3 06:48 h:: -> /dev/sdc4
lrwxrwxrwx 1 robert users 9 Aug 4 22:10 i:: -> /dev/sdc3
lrwxrwxrwx 1 robert users 1 Aug 3 06:48 z: -> /
- F:: is just a place holder symbolic link to the physical (Linux) device path (disk partition 1).
- F: is the actual symbolic link to the mountpoint of the associated device (USB drive: partition 1).
Code: Select all
cd /dev/disk/by-uuid/
'ls' -l
total 0
...
lrwxrwxrwx 1 root root 10 Aug 4 22:09 34DA2680DA263F0C -> ../../sdc1
...
Code: Select all
cd ~/.wine/dosdevices
rm 'e::' 'f::'
ln -s '/dev/disk/by-uuid/34DA2680DA263F0C' 'e::'
Give that solution a try and report back if you have any issues...
Bob
Re: how to: assign permanent driveletters to dosdevices?
thanks for your replies.
will test this workaround, although i hope there will be a fix for that bug, as it is a very crucial setting.
will test this workaround, although i hope there will be a fix for that bug, as it is a very crucial setting.