I know this question was asked over two years ago, but I have a partial answer...
At http://web.syr.edu/~jdimpson/proj/fib-0.1.tgz you can get the source code to a loadable module that creates a file called /proc/fib. Writing a number to it will seed it, reading from it will read the the fibonacci value of that seed. I wrote it as an exercise in understanding how to read and write to /proc files. Reade http://web.syr.edu/~jdimpson/proj/fib-0.1/README for more details. --Jeremy
|