On Tue, Jul 7, 2009 at 11:13 AM, Steve Simon<st...@quintile.net> wrote: > I am interested in a 9p implementation which used print()-like > format strings for packet marshaling. This was pre-9p2k and I > even have a vague memory that it was a student project, mentored by Rob, > though I may have made that up. > > I found this code on the net a long time ago but I ahve lost the link; > does this description ring any bells with anyone? >
I wasn't aware of the previous instance, but the stuff Anthony Ligouri did for the qemu-based-9p server used this approach and I liked it so much I sucked it into the v9fs kernel code but there isn't currently a standalone library version of it (but it should be trivial to extract it from the kernel code -- specifically: http://is.gd/1q7hV ). I wanted to do a Plan 9 version using fmtinstall (or some variant) because that should make it a lot cleaner, but never got around to doing it. -eric