Device Drivers in python(kernel modules)
Laurent Pointal
laurent.pointal at limsi.fr
Wed Mar 7 04:44:44 EST 2007
John Nagle a écrit :
> Thomas Ploch wrote:
>> rishi pathak schrieb:
>>
>>> I am not much of a kernel programmer , I have a requirement to shift a
>>> python code to work as a kernel module.
>>> So I was just wondering whether we can write a kernel module in python.
>>> A thought is that if we can somehow convert python code into a C object
>>> code then it can be done.
>>> Can some one suggest something..anything
>
> 3. This is probably a bad idea. If it doesn't have to go in the
> operating system kernel, it shouldn't go in the kernel.
>
> John Nagle
I agree.
If (under Linux) this is just to provide a driver-like interface (ie.
using file-system objects manipulation), OP may take a look at FUSE
(Filesystem in Userspace - http://fuse.sourceforge.net/) and its Python
binding (http://www.google.fr/search?q=FUSE+%2B+Python).
More information about the Python-list
mailing list