-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, May 01, 2007 at 01:27:37PM -0400, Eddie Pettis wrote: > I have a module that stores a lot of information within the kernel > (>100 kB). To extract the data from this module, I have created a > file within /proc that I read from user space. However, since I have > a lot of data, I need to generate the output in pieces and buffer the > data for user space. > > Does anybody know of a good example that uses /proc or /sys and > buffers data back to user space? You shouldn't abuse /proc or /sys for that, use relayfs. See Documentation/filesystems/relay.txt . Erik - -- They're all fools. Don't worry. Darwin may be slow, but he'll eventually get them. -- Matthew Lammers in alt.sysadmin.recovery -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGN700/PlVHJtIto0RAmiXAJ48/ruX5EUQiRyjDRxIqoKrSzBujACcDcg1 NLd2omSi11+MDwgQmDM/9vI= =H5+A -----END PGP SIGNATURE----- -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ