locked
Can Windows Driver Kit minifilter change the file write target, such as volumn or file directory ? RRS feed

  • Question

  • Hi, could WDK minifilter could change the volumn when I/O operation occured? I want to use minifilter to filter IRP such as write or read, and change their write or read target volumn (like change from C volumn to D) just like that.

    Could you give me some example of how to change the volumn when IRP occured? I already read the WDK/swapbuffers, could it work for my application? Such example could only filter the IRP and change the write and read data buffer. Could it change the target volumn as well? Does iopb->Instance will work? if so how?

    Thank you!

    Thursday, November 8, 2012 5:03 AM

Answers

  • Of course a minifilter can do this.  You need to change the create (and possibly other operations) to go to the other volume.  I have not done this myself, but it is doable.  You may want to ask this question on the NTFSD list at http://www.osronline.com that is where the file system folks hang out.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    Thursday, November 8, 2012 11:24 AM

All replies

  • Of course a minifilter can do this.  You need to change the create (and possibly other operations) to go to the other volume.  I have not done this myself, but it is doable.  You may want to ask this question on the NTFSD list at http://www.osronline.com that is where the file system folks hang out.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    Thursday, November 8, 2012 11:24 AM
  • Could you and your company give me some instruction on how to config Iopb parameters to change the target volumn, I think you and your company should know, because the miniflter reference and WDK example I found could not solve my problem on this case!
    Monday, November 12, 2012 1:34 AM