How can an IRP for IRP_MJ_DIRECTORY_CONTROL be forwarded from FAT32 to NTFS?

I’m wrinting a filter driver for mirroring.
My driver work as following.
"

  1. Sends IRP from I/O manager to FAT32
  2. Checks the result from FAT32
  3. If the result is met, resends the IRP in completion routine.
  4. Return
    "
    In 3 step, I reuse the IRP from FAT32 except the next device member. I re-initialize the
    next device of IRP stack to NTFS and other things.
    But It doesn’t work as expected.
    I tried IO_REPARSING, however, it wasn’t able to be adapted for directory-control.

How can an IRP for IRP_MJ_DIRECTORY_CONTROL be forwarded from FAT32 to NTFS?
Thx in advance.

You are mirroring a NTFS volume with a FAT32 volume? That just seems wrong
to start with. More fundamentally, as this is essentially a read operation,
why would you send it to both sides of the mirror? Also note that if this is
a IRP_MN_NOTIFY_CHANGE_DIRECTORY request, ‘sending it to both sides’ is
completely wrong.

On Nov 19, 2007 4:44 AM, wrote:

> I’m wrinting a filter driver for mirroring.
> My driver work as following.
> "
> 1. Sends IRP from I/O manager to FAT32
> 2. Checks the result from FAT32
> 3. If the result is met, resends the IRP in completion routine.
> 4. Return
> "
> In 3 step, I reuse the IRP from FAT32 except the next device member. I
> re-initialize the
> next device of IRP stack to NTFS and other things.
> But It doesn’t work as expected.
> I tried IO_REPARSING, however, it wasn’t able to be adapted for
> directory-control.
>
> How can an IRP for IRP_MJ_DIRECTORY_CONTROL be forwarded from FAT32 to
> NTFS?
> Thx in advance.
>
>
>
>
> —
> NTFSD is sponsored by OSR
>
> For our schedule debugging and file system seminars
> (including our new fs mini-filter seminar) visit:
> http://www.osr.com/seminars
>
> You are currently subscribed to ntfsd as: xxxxx@hollistech.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>


Mark Roddy