[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: read/write form module /dev/* files



On 6/4/07, peto <fodrek@xxxxxxxxxxxxxxxxx> wrote:
Dear confrenece,

I would like to ask if there is some way to access /dev/* files
connected to the minor and major number of other modules form kernel
module(calls
of exported symbols works but is not enough independent).

I was seen one solution through get_fs/put_fs calls, but it is not
recommended by that article.

Right. Why do you need to open /dev/* files from the kernel space? Perhaps you can be better off using inode structure of the device file in the kernel.

HTH

Thanks
--psr

Thank you for help


I look forward hearing from you

Yours faithfully

Peter.


-- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ




--
play the game

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ