> a great sample is /sys/src/lib9p/ramfs.c actually, i don't find this a particularly good example, because it implements an arbitrarily structured namespace, whereas most simpler fileservers serve a static or highly structured namespace.
9p(2) can remove some of the drudgework.
