Filter driver equivalent in Linux

Hi,

Is there any way to write a filter driver (Windows) equivalent in Linux? I would like to write a driver which will be layered above the block level driver and would appreciate some help or hints.

Regards,
Gurpreet


TV dinner still cooling?
Check out “Tonight’s Picks” on Yahoo! TV.
http://tv.yahoo.com/

Gurpreet Anand wrote:

Is there any way to write a filter driver (Windows) equivalent in
Linux? I would like to write a driver which will be layered above the
block level driver and would appreciate some help or hints.

Not really. Linux does not have the concept of a driver “stack”. Some
classes of devices do have layered drivers, but this requires the
knowledge and participation of the drivers involved. You can’t do blind
filtering of another driver.

However, since the source is available, you can usually modify the
existing driver to do what you need.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

On 3/20/07, Tim Roberts wrote:

> Gurpreet Anand wrote:
> >
> > Is there any way to write a filter driver (Windows) equivalent in
> > Linux? I would like to write a driver which will be layered above the
> > block level driver and would appreciate some help or hints.

Yes, for block drivers at least you can write filter driver in Linux.
You can have a filter driver which can do replication of data blocks.(remote
replicators!).

> –
> Ashish Purkar