* [RFC] proc fs extension for "one-value-per-file"
@ 2001-05-14 18:59 Tim Jansen
0 siblings, 0 replies; only message in thread
From: Tim Jansen @ 2001-05-14 18:59 UTC (permalink / raw)
To: linux-kernel
The following patch extends the proc fs api as discussed in the thread "/proc
format" last month (http://marc.theaimsgroup.com/?t=98822545000007&w=2&r=1).
It adds the following features:
- dynamic directories. Enables you to use directories for enumerations,
similar to the per-process directories (/proc/<number>) or usbdevfs.
- context callbacks for directories. They can do things that are common for
all files in a directory, like locking, and are also used for dynamic
directories.
- special functions with context support for proc files that containing short
strings, integers or enums
These things give the proc filesystem the functionality that I need for the
Device Registry patch to replace the XML output with the one-value-per-file
approach. The api is documented in fs/proc/onevalue.c.
You can download the patch for 2.4.4 here (40 kB):
http://www.tjansen.de/devreg/proc_ov-2.4.4.diff
bye...
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-05-14 19:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-14 18:59 [RFC] proc fs extension for "one-value-per-file" Tim Jansen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox