Out of all the drive types that can be set in winecfg, the only one that currently doesn't work is "Local disk", which should map to DRIVE_FIXED. It seems to me that define_unix_drive, which handles creation and changes to the "Drives" tab in winecfg, is missing the case for DRIVE_FIXED mapping to DEVICE_HARDISK_VOL, as it appears in the query_unix_drive later in mountmgr.c.
I'd like some comment on whether this patch is appropriate.
2009/3/6 Ben Klein shacklein@gmail.com:
This fixes bug 17618, where setting a drive type to "Local disk" does not save the appropriate change to the registry. The problem can be traced to mountmgr.c, where define_unix_drive has no case for the type being "Local disk" (DRIVE_FIXED).