I am trying to use a program which converts some files from a USB storage device. After experimenting with it, I have discovered it recognizes the device by its label (i.e. it only syncs if it sees a usb device with a particular name appear). Unfortunatelly, while wine does mount the USB key, it seems to be doing so without its name. If I plug my key in windows, open a cmd and type "vol F:"
I get something like :
(I translated so it's not the exact words in english)The volume in F is labelled MyUSB
The serial number of the volume is F00F-94E9
When I do the same thing on linux after typing "wine cmd" and "vol F:" (and I know it's the correct letter because it's linked in .wine/dosdevices) I get :
The label is recognized by linux since it is automatically mounted in /media/username/MyUSB.Volume in drive f has no label.
Volume Serial Number is 0000-0000
I tried setting the label in the drive tab of winecfg, but it doesn't seem to be working, and if I validate, close, an then reopen winecfg, it is back to empty value. I also tried adding string value in regedit in HKLM/SOFTWARE/WINE/DRIVE but it doesn't work either.
How can I make that label appear for wine, and how can I do so automatically upon connection of the device?
Thanks in advance for your help.