I got bored this evening and decided to learn more about the Linux kernel
by splitting out procfs into two separate file systems:

taskfs which contains /proc/self and /proc/[1-9]*
kernfs which contains everything else that procfs provides.

You can get the quick hack from here (this patch is against 2.4.0-test10):

http://thor.sbay.org/~dave/taskfs_and_kernfs.diff.gz

I've tested the two file systems on the user-mode-linux kernel. :-)
They both seem to work as expected, even when /proc is mounted.

Alexander Viro, is this kernfs at all useful as a starting point for your
kernfs goals?

davez

-- 
Dave Zarzycki
http://thor.sbay.org/~dave/



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to