File System Filter Driver

Hi All,
Could you please help in the following problem of mine.
I wish to create a file system filter driver which will do the following

If I, modify a file in C drive then the following action should happen…
The original file (Say C:\original.txt) which is opened for modification, is
not at all changed. Instead a file is made in a particular folder in D drive
(Say D:\Buffer\original.txt) and all the modifications are done on that
file.

Thanks
lalit


If I, modify a file in C drive then the following action should happen…
The original file (Say C:\original.txt) which is opened for modification, is
not at all changed. Instead a file is made in a particular folder in D drive
(Say D:\Buffer\original.txt) and all the modifications are done on that
file.

Redirecting the IoMgr to another location is done by modifying the
IRP_MJ_OPEN call and returning STATUS_REPARSE.

I’d expect lots of problems to arise, regarding directory listings, streams
etc.

Tobias