seq_file_howto
Quoted 5 lines
acme prodded me into doing this a few weeks (or months?) ago. It still needs some additional info for using
single_open()andsingle_release(), but I'd like to get some comments on it and then add it to linux/Documentation/filesystems/ or post it on the web somewhere, like kernelnewbies.org.
Gee...I did one too, including a simple sample module which shows how it all works; see http://lwn.net/Articles/22355/. It's part of the larger "driver porting" series at http://lwn.net/Articles/driver-porting/; there's a dozen articles there now, most of which have passed out of the subscription period and are freely available.
jon
Jonathan Corbet
Executive editor, LWN.net
[email protected]