Tom Hayward

This blog covers some of my thoughts and interests, including software development, system administration, and amateur (ham) radio.

Check me out:

Facebook
Flickr
Last.fm
Del.icio.us
Twitter @thayward

Comments:

I just added LineBuzz for comments. Just highlight the phrase you want to comment on, and click "Post an inline comment". You will need be registered with LineBuzz, but luckily this is simple and quick.

Local Links:

Friend's Blogs:

Mon Feb 2

Send a file to a process by writing to /proc

I’d like a way to “write” to a Linux filesystem, but rather than write the file, have the file sent to a process (so that it can be sent to another server over the network). I think this is possible with a kernel module by writing to /proc/mykernelmodule/filetosend, but I don’t know of any good resources that teach this. Any ideas?

Edit: This seems like a pretty good resource (haven’t started hacking on it yet): http://tldp.org/LDP/lkmpg/2.6/html/x810.html.