Re: What is the difference between volume filter driver and disk filter driver ? How can I do ? Th

a volume (upper) filter sits above ftdisk.sys or dmio.sys, while a disk
(upper) filter sits above disk.sys.
For example, if you filter IRP_MJ_READ/WRITE, the volume filter will
(in
IoGetCurrentIrpStackLocation(pIrp)->pCurrentIrpStack->Parameters.Read/Write.ByteOffset)
receice
a logical offset (offset 0 is volume start), while the same request
arriving at the disk filter will use
the physical offset.
With the disk filter you are able to also filter access that is “outside”
of the volumes (like accessing the MBR).
And a disk filter will see a few other IOCTLs than a volume filter and vice
versa.
So the differences in Entry and AddDevice maybe minor, limited to finding
out the proper device name,
and the rest depends on what you want to do.

Regards
Else

“Leo”
To: “Windows System Software Devs Interest List”
Sent by: cc:
bounce-202705-16691@li Subject: [ntdev] What is the difference between volume filter driver and disk filter driver ?
sts.osr.com How can I do ? Thanks , anyway . (Unsigned Mail)

03/04/2005 03:15 AM
Please respond to
“Windows System
Software Devs Interest
List”

What is the difference between volume filter driver and disk filter driver
?
We know a famous “diskperf” sample in the DDK document . It is a disk
filter
driver .
If I want to modify “diskperf” a bit to get a volume filter driver . How
can
I do ?

Could you tell me a material means ?

Thanks !


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@utimaco.de
To unsubscribe send a blank email to xxxxx@lists.osr.com

Thanks

But if I want to modify “diskperf” a bit to get a volume filter driver . How
can I do ?

Who had reserached the “diskperf” sample in the DDK document ?

“Else Kluger” wrote in message news:xxxxx@ntdev…
>
> a volume (upper) filter sits above ftdisk.sys or dmio.sys, while a disk
> (upper) filter sits above disk.sys.
> For example, if you filter IRP_MJ_READ/WRITE, the volume filter will
> (in
> IoGetCurrentIrpStackLocation(pIrp)->pCurrentIrpStack->Parameters.Read/Write.ByteOffset)
> receice
> a logical offset (offset 0 is volume start), while the same request
> arriving at the disk filter will use
> the physical offset.
> With the disk filter you are able to also filter access that is “outside”
> of the volumes (like accessing the MBR).
> And a disk filter will see a few other IOCTLs than a volume filter and
> vice
> versa.
> So the differences in Entry and AddDevice maybe minor, limited to finding
> out the proper device name,
> and the rest depends on what you want to do.
>
> Regards
> Else
>
>
>
> “Leo”
> To: “Windows
> System Software Devs Interest List”
> Sent by: cc:
> bounce-202705-16691@li Subject: [ntdev] What
> is the difference between volume filter driver and disk filter driver ?
> sts.osr.com How can I do ? Thanks
> , anyway . (Unsigned Mail)
>
>
> 03/04/2005 03:15 AM
> Please respond to
> “Windows System
> Software Devs Interest
> List”
>
>
>
>
>
> What is the difference between volume filter driver and disk filter driver
> ?
> We know a famous “diskperf” sample in the DDK document . It is a disk
> filter
> driver .
> If I want to modify “diskperf” a bit to get a volume filter driver . How
> can
> I do ?
>
> Could you tell me a material means ?
>
>
> Thanks !
>
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@utimaco.de
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
>