none
What is the order of minifilter instances attach? RRS feed

  • Question

  • If my file system minifilter driver is SERVICE_BOOT_START type with automatic attachment, can i be sure that filter manager will call instance setup callback for system volume before any other volume?

    • Edited by The Brans Thursday, November 6, 2014 9:47 PM
    Thursday, November 6, 2014 9:41 PM

Answers

  • I would ask this on the NTFSD group at http://www.osronline.com.  My general reaction is while this seems logical, I don't believe it is guaranteed.  So the real question is why do you think you need this.

      

    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com

    Thursday, November 6, 2014 9:47 PM

All replies

  • I would ask this on the NTFSD group at http://www.osronline.com.  My general reaction is while this seems logical, I don't believe it is guaranteed.  So the real question is why do you think you need this.

      

    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com

    Thursday, November 6, 2014 9:47 PM
  • i will ask there, thatnks. Why? Because i chosed to store metadata on system volume. I chosed to not store it inside volumes because of advantages: for system volume i don't need to handle volumes dismounts/mountes, supris removes, volume locks, etc. to release/reaquire metadata file reference.

    But as see now there are drawbaks: difficultes with CSV volumes and this... i can't open metadata in driver entry because for minifilters load groups FS isn't ready, i need to open metadata on instance setup callback for system volume, and only after i will open it i will know to what volumes i need to attach. So if first volume where i will receive instance setup callback - is sytem volume: ok, all will works. And if not - i need to attach to all volumes, and then i can detach for example in IRP_MJ_CREATE callback(i am using it) if i will not need that volume.

    1. difficulties
    Thursday, November 6, 2014 10:32 PM
  • How much metadata?  This is one of the purposes of the registry, and that eliminates the what volume is this problems.

    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com

    Friday, November 7, 2014 2:23 AM