Re: How to access a regular file from within a module ?

From: Alan Cox
Date: Sun Jan 11 2009 - 06:32:25 EST


On Sat, 10 Jan 2009 19:44:55 -0800 (PST)
Jose Luis Marchetti <joseluismarchetti@xxxxxxxxxxxx> wrote:

> Hi,
>
> I would like to open/read/write/close a regular file from my device
> driver.

You don't generally get to do this. What are you actually trying to
achieve ?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/