dokan-dev / dokany

User mode file system library for windows with FUSE Wrapper
http://dokan-dev.github.io
5.2k stars 661 forks source link

How to increase the eject menu on the virtual disk? #1090

Closed 834772509 closed 2 years ago

834772509 commented 2 years ago

Environment

Check List

Description

I want to add the "eject" menu to the right-click menu of the virtual disk, like "vhd, iso". I try to create a removable virtual disk in mirror.exe, but when I click the eject menu it says "An error occurred while ejecting DOKAN (M:)." How to listen for this event? The unmounted() interface has no effect.

Logs

Please attach in separate files: mirror output, library logs and kernel logs. In case of BSOD, please attach minidump or dump analyze output.

Liryna commented 2 years ago

Could you retry with dokan v2 and share the logs generated by the sample: mirror /r C:\Users /l m /m /e after eject button was clicked ?

834772509 commented 2 years ago

您能否使用 dokan v2 重试并共享示例生成的日志:mirror /r C:\Users /l m /m /e单击弹出按钮后?

logs.txt The same problem happened in the latest V2.0.3.2000 version.

Liryna commented 2 years ago

Thanks! Actually this options is just bugged and we should not support it See https://github.com/dokan-dev/dokany/commit/21f149784d79daa39aa4be020436c0d53db397a1