Redirection of Irp to Different device object using file system filter driver

Hello everybody

I have a file system filter driver which attached itself to each drive by creating

device objects for each drive (c: , d:, e:) using filespy sample . I would like to

know whether it is possible to pass the irp’s sent to one device object(say for

c:\ drive)to another device object (which is a different drive example d:) using

my file system filter driver.What is the way to do this.
Indiatimes Email now powered by APIC Advantage. Help!
HelpClick on the image to chat with me

Hello everybody

I have a file system filter driver which attached itself to each drive by creating

device objects for each drive (c: , d:, e:) using filespy sample . I would like to

know whether it is possible to pass the irp’s sent to one device object(say for

c:\ drive)to another device object (which is a different drive example d:) using

my file system filter driver.What is the way to do this.
Indiatimes Email now powered by APIC Advantage. Help!
HelpClick on the image to chat with me

You must use reparsing for this. Search MSDN, it
describes this well.

L.

It’s possible. But the way you do it depends on what do you want to do
next. If you just need to redirect request and don’t care after that, or
if you watch after each request to each file on each volume (the one
that you’re redirecting from as well as the one you’re redirecting to)
then the best way (as Ladislav pointed out) is to use STATUS_REPARSE in
create dispatch. Otherwise, if you want selectiveness, I’m afraid
reparsing will not help because there is no reliable way to tell when a
file is opened as the result of previous reparse in another driver
stack. In this case the implementation is so much harder than I would
advise you to think how you can design your system in such a way that
reparsing would work for you :slight_smile:

Vladimir Chtchetkine
Principal Engineer

Borland Software is the global leader in platform independent solutions
for Software Delivery Optimization, helping customers address the
constraints of modern day software development to maximize the business
value of their software.
-----Original Message-----
From: ksantosh_k7 [mailto:xxxxx@indiatimes.com]
Sent: Thursday, February 24, 2005 10:09 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Redirection of Irp to Different device object using
file system filter driver

Hello everybody I have a file system filter driver which attached itself
to each drive by creating device objects for each drive (c: , d:, e:)
using filespy sample . I would like to know whether it is possible to
pass the irp’s sent to one device object(say for c:\ drive)to another
device object (which is a different drive example d:) using my file
system filter driver.What is the way to do this.


Indiatimes Email now powered by APIC Advantage. Help!
http:</http:>
My Presence
http:k7> Help http:
Click on the image to chat with me
http:
— Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17 You are currently subscribed
to ntfsd as: xxxxx@borland.com To unsubscribe send a
blank email to xxxxx@lists.osr.com</http:></http:></http:>