[PATCH] mountmgr: Add and remove drives when they are (un)mounted.
thestig at google.com
Sun Nov 2 13:37:13 CST 2008
On Sun, Nov 2, 2008 at 7:54 AM, Vitaliy Margolen
<wine-devel at kievinfo.com> wrote:
> Lei Zhang wrote:
>> It looks like mountmgr.sys does not remove drives when devices are
>> unmounted. We should look at the is_mounted property and take the
>> appropriate action when it changes.
> This is going the wrong way. Wine already can't deal with blank media
> without some "hackish" workarounds. With this patch you will break even that.
> Wine should keep drive visible for applications even if there is not media
> or a blank media inserted.
How about leaving cdrom / floppies alone and only add/remove disks on
(un)mount. Currently , if we add a disk, and then unmount, but not
remove it, the disk end up in a state where it's still there, but all
of its contents are gone.
More information about the wine-devel