The HyperNews Linux KHG Discussion Pages

Note: Examples code as documentation

Forum: The Linux Kernel Hackers' Guide
Re: Question proc fs docs? (David Woodruff)
Keywords: proc
Date: Sun, 07 Dec 1997 02:43:13 GMT
From: Jeremy Impson <>

I know this question was asked over two years ago, but I have a partial answer...

At 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 for more details.