dokan-dev / dokany

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

Use Dokany As MiniFilterDriver #539

Closed NikbakhtMehdi closed 7 years ago

NikbakhtMehdi commented 7 years ago

Feature request can skip this form. Bug report must complete it. Check List must be 100% match or it will be automatically closed without further discussion. Please remove this line.

Environment

Check List

Description

How To Use Dokany As MiniFilterDriver?

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 7 years ago

Hi @NikbakhtMehdi ,

Dokan is a Kernel driver and not a MiniFilterDriver. What do you want to do with a MiniFilterDriver ?

Rondom commented 7 years ago

See also #472

NikbakhtMehdi commented 7 years ago

Hi tanks for your response I want use it for logging events such create delete and etc on drives (C: D: ...) without mount new drive with mirror.exe thanks a lot

On Sat, Jun 24, 2017 at 4:56 PM, Liryna notifications@github.com wrote:

Hi @NikbakhtMehdi https://github.com/nikbakhtmehdi ,

Dokan is a Kernel driver and not a MiniFilterDriver. What do you want to do with a MiniFilterDriver ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dokan-dev/dokany/issues/539#issuecomment-310835668, or mute the thread https://github.com/notifications/unsubscribe-auth/ARYrGxNeJ2FDV-czgwKObX3fsswuK2hmks5sHQCDgaJpZM4OETx7 .

Liryna commented 7 years ago

If it is just for logging, you can use Process Monitor https://technet.microsoft.com/en-US/sysinternals/processmonitor.aspx

NikbakhtMehdi commented 7 years ago

I want use it in my application

Liryna commented 7 years ago

I think the best for you would be to create a driver and take minispy as example. https://github.com/Microsoft/Windows-driver-samples/tree/master/filesys/miniFilter/minispy

NikbakhtMehdi commented 7 years ago

yes. I checked it before but i must sign that. I want use dokany for some reasons

Liryna commented 7 years ago

@NikbakhtMehdi Dokany create a new device or can mount in a folder. You will not be able to log C

NikbakhtMehdi commented 7 years ago

Can register MajorFunctions on Global registered Device?

Liryna commented 7 years ago

Minispy https://github.com/Microsoft/Windows-driver-samples/tree/master/filesys/miniFilter/minispy signed will do the job. See https://docs.microsoft.com/en-us/windows-hardware/drivers/ifs/installing-a-minifilter-driver to see how to install it.

NikbakhtMehdi commented 7 years ago

I can't find signed Minispy driver. Can we do register MajorFunctions on Global registered Device?