On Thu, Jan 20, 2005 at 01:23:48AM -0500, Karim Yaghmour wrote: > > I've reworked the relayfs patch extensively. The API and internals > have been heavily purged. The patch is in fact almost HALF! its > original size, loosing 90KB and going from 200KB to 110KB.
Hm, how about this idea for cutting about 500 more lines from the code: Why not drop the "fs" part of relayfs and just make the code a set of struct file_operations. That way you could have "relayfs-like" files in any ram based file system that is being used. Then, a user could use these fops and assorted interface to create debugfs or even procfs files using this type of interface. As relayfs really is almost the same (conceptually wise) as debugfs as far as concept of what kinds of files will be in there (nothing anyone would ever rely on for normal operations, but for debugging only) this keeps users and developers from having to spread their debugging and instrumenting files from accross two different file systems. Just an idea... thanks, greg k-h - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/