Linux Kernel Procfs Guide
Erik (J.A.K.) Mouw
Delft University of Technology
Faculty of Information Technology and Systems
J.A.K.Mouw@its.tudelft.nl
PO BOX 5031
2600 GA
Delft
The Netherlands
Copyright
© 2001 by Erik Mouw
Table of Contents
Preface
1.
Introduction
2.
Managing procfs entries
Creating a regular file
Creating a symlink
Creating a device
Creating a directory
Removing an entry
3.
Communicating with userland
Reading data
Writing data
A single call back for many files
4.
Tips and tricks
Convenience functions
Modules
Mode and ownership
5.
Example
Next
Preface