winecfg volume serial number

Hoehle, Joerg-Cyril Joerg-Cyril.Hoehle at
Tue Dec 16 06:52:00 CST 2008


I just sent a bug-fix to wine-patches to prevent a crash in winecfg when editing the volume serial number input field, together with some unrelated thoughts about winecfg and the device/volume serial number handling. Then I realized that wine-patches is not a good place for discussion. So here are the ideas about winecfg's GUI:

- Maybe the serial input field should be initialized with %08X instead of %X to hint at the format? E.g. input of serial numbers like "1122-dacf" as printed by DIR produce 00001122 in winecfg, due to strtoul().

- Possibly the input size should be restricted to 8 characters in the GUI?

- Maybe winecfg should echo the hex number it read into the input field, no later than "apply" time? Currently one needs to select another drive, then come back to see what it got.

Note that winecmd's DIR prints the number in lower case, while MS-w2k DOS window's DIR prints upper case.

BTW, winecfg does not seem to be able to set .windows-label anymore:
warn:winecfg:set_drive_label unable to set volume label for 
devicename of L"E:\\", label of L"xyz"
trace:winecfg:PRINTERROR error: 'Access denied'
Looks like

	Jörg Höhle

More information about the wine-devel mailing list