From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <9655727ae2365c813789954133407d83@quintile.net> References: <9655727ae2365c813789954133407d83@quintile.net> Date: Tue, 7 Jul 2009 11:49:56 -0500 Message-ID: From: Eric Van Hensbergen To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [9fans] 9p implemention using print() like formats for marshaling Topicbox-Message-UUID: 15731a3e-ead5-11e9-9d60-3106f5b1d025 On Tue, Jul 7, 2009 at 11:13 AM, Steve Simon 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