Filter driver for Network File I/O'

Hi ALl,

Has any budy implemented a filter driver for intercepting file i/o’s on a network drive.
We tried with our own mini-filter. We created a mini-filter for local drives and it is working perfectly but for network drives we found some inconsistencies with cached and non-cached IO’s.

Is Mini-Filter the right approach going forward, or should try to createa full-fledged filter driver for handling Network File I/O’s.

It would be great if some one can share his experience and guide us in just the right direcction.

thanks and regards

It depends on what you’re trying to do.

I filter network-connected files in my mini-filter all the time with no problems. But I don’t try to do something that doesn’t make sense for a network connection.

So the obvious question is: What are you trying to do? What doesn’t work?

Ken

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@rsystems.com
Sent: Monday, March 31, 2008 5:51 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Filter driver for Network File I/O’

Hi ALl,

Has any budy implemented a filter driver for intercepting file i/o’s on a network drive.
We tried with our own mini-filter. We created a mini-filter for local drives and it is working perfectly but for network drives we found some inconsistencies with cached and non-cached IO’s.

Is Mini-Filter the right approach going forward, or should try to createa full-fledged filter driver for handling Network File I/O’s.

It would be great if some one can share his experience and guide us in just the right direcction.

thanks and regards


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@comcast.net
To unsubscribe send a blank email to xxxxx@lists.osr.com

>We tried with our own mini-filter. We created a mini-filter for local drives and

it is working perfectly but for network drives we found some inconsistencies
with cached and non-cached IO’s.

SMB converts non-cached IOs to cached IOs with WRITE_THROUGH switched on. Write only handles are always non-cached. See smbmrx sample (sys\openclose.c) in WDK for details.

-bg