https://bugs.winehq.org/show_bug.cgi?id=54762
Bug ID: 54762 Summary: Request: Add "Removable" drive mount type Product: Wine Version: unspecified Hardware: arm OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: mountmgr.sys Assignee: wine-bugs@winehq.org Reporter: wine.bugzilla.2023@maildepot.net
I've come across a number of firmware updating apps for various devices which perform pretty basic filesystem writes to the hardware when it's booted into a special mass storage mode, but they will not work unless the drive itself is of the "Removable" type according to this method in .NET:
https://learn.microsoft.com/en-us/dotnet/api/system.io.driveinfo.drivetype?v...
Even though the virtual drive mounts and is perfectly accessible, unless THAT method returns a 2, the app is just going to choose to ignore it and cannot be used.
I realize that this may sound a little esoteric and that there could be a tremendous amount of Registry complexity involved in satisfying that method, but given that the current list of drive types we have to choose from in winecfg is basically from 1993, it seems like a bit of an update could be a generally good idea for the project as a whole if it is at all feasible. The "modern" list is honestly not all that different:
https://learn.microsoft.com/en-us/dotnet/api/system.io.drivetype?view=net-8....