2002-08-08 18:12:22

by Tom Sanders

[permalink] [raw]
Subject: Layered Driver Support in Linux ?

Does Linux support layered drivers ?

I want to write a driver that will take requests from
the applications and will pass them on to underlying
SD disk driver. For this I need to map open, close,
read, write, ioctl etc entry points to corresponding
functions of the underlying driver.

Pointer to any info would be appreciated.

Thanks,
Tom


__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com


2002-08-08 18:29:29

by Alan

[permalink] [raw]
Subject: Re: Layered Driver Support in Linux ?

On Thu, 2002-08-08 at 19:16, Tom Sanders wrote:
> Does Linux support layered drivers ?
>
> I want to write a driver that will take requests from
> the applications and will pass them on to underlying
> SD disk driver. For this I need to map open, close,
> read, write, ioctl etc entry points to corresponding
> functions of the underlying driver.

Two examples we have are

loop - maps a file as a device
md - a software implemented raid layer