winecfg volume serial number

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


Hi,

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:
trace:winecfg:apply_drive_changes 
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 http://bugs.winehq.org/show_bug.cgi?id=13273

Regards,
	Jörg Höhle



More information about the wine-devel mailing list