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....
https://bugs.winehq.org/show_bug.cgi?id=54762
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|mountmgr.sys |kernel32 CC| |z.figura12@gmail.com Summary|Request: Add "Removable" |mountmgr detection and |drive mount type |drive type overrides are | |not used when calling | |GetDriveType() on a path | |that exists
--- Comment #1 from Zeb Figura z.figura12@gmail.com --- As you may have seen in my other reply, the issue is a bit more subtle than that. The "floppy drive" entry is what you're looking for, although it's not obvious from the name. (In fact, that list is supposed to correspond with the list .NET uses, although somewhat indirectly.) The problem is that we're ignoring the manually set drive type under most conditions.
https://bugs.winehq.org/show_bug.cgi?id=54762
--- Comment #2 from wine.bugzilla.2023@maildepot.net --- Floppy absolutely does not work. I have tried every option available exhaustively.
https://bugs.winehq.org/show_bug.cgi?id=54762
--- Comment #3 from Zeb Figura z.figura12@gmail.com --- (In reply to wine.bugzilla.2023 from comment #2)
Floppy absolutely does not work. I have tried every option available exhaustively.
Yes, I'm aware. I'm trying to say that the problem isn't "there is no removable mass storage option", it's that the override you're setting in winecfg is not being respected. The difference may not matter to you, but bugzilla is a developer tool, so it's worth describing the underlying issue here.
https://bugs.winehq.org/show_bug.cgi?id=54762
--- Comment #4 from wine.bugzilla.2023@maildepot.net --- I see. I have not even heard the name "Bugzilla" in over 20 years so I'm unaware of this other conversation you seem to be referencing or the manner in which I would go about finding it, but that makes sense.
Is this a thing which could be jerry-rigged with a Registry edit or is it fundamentally a Wine bug I have to wait to get fixed? I've skimmed the sources for this module but it's an extremely large project that would likely take me weeks to get up to speed on before I could even begin to be productive so it is unlikely that I will ever be finding the time to dedicate to debugging it personally.
Thanks
https://bugs.winehq.org/show_bug.cgi?id=54762
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=54762
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|arm |x86-64