Dynamically add/remove partitions in upper volume filter driver. RRS feed

  • Question

  • Hi,

    I am working on an upper volume filter driver using diskperf as base.

    The main purpose of our driver is to monitor changes at the sector level.

    I want to know how can I add/remove specific partitions when the system is running, without restarting it?

    Monday, July 8, 2013 2:32 PM

All replies

  • Hi,

    Actually what I want to do is monitor only those partitions that are selected by the user.

    The user app will tell the driver that stop monitoring specific partitions.

    I thought of to save the partition number that should not be monitored in the registry , so when the system reboots the driver will read the partition no. from registry in the "Adddevice" routine and it will not create device object for it.

    So now my question is whether to filter the partitions in the "Adddevice" routine or in the "PNP" routine i.e in "case IRP_MN_START_DEVICE".

    Also how can I map partition number and device object?

    Thanks in advance.

    Thursday, July 11, 2013 10:41 AM
  • Hi,

    Can any one provide me any kind of solution to my problem.
    How can I install upper volume filter driver for a particular partition and uninstall it for a specific partition?
    I looked at the addfilter utility of Microsoft but it did not helped. I tried using it to install upper volume filter for one of my non system partition but on reboot the partition disappeared.

    Can anyone give me some inputs?

    Thanks in advance.
    Friday, July 12, 2013 11:08 AM