No they are not enough IRP_MJ_SET_EA, IRP_MJ_SET_SECURITY, and
IRP_MJ_SET_VOLUME_INFORMATION can all write to the hard disk. The
question is for what you are trying to do would it be better to use a
disk filter than a file system filter?
“xxxxx@shaw.ca” wrote in message news:xxxxx@ntfsd:
> If I want to moniter ALL the WRITEs to hard disk using file system filter driver, > the following dispatchers are enough or not? > > IRP_MJ_CREATE (with some flags) > IRP_MJ_WRITE > IRT_MJ_SET_INFORMATION > IRP_MJ_DEVICE_CONTROL > FastIoWrite > FastIoWriteCompressed > FastIoDeviceControl
I only want to know how many files changed in the harddrive (metadata and visible files.)
Do I need to moniter FastIoWrite? I know FastIoWrite will write to cache and set dirty flag. But when cache manager flushs the dirty cache to harddrive later, my FS filter driver will get MJ_IRP_WRITE or not?