Date: Mon, 7 May 2007 11:53:03 -0700 From: John-Mark Gurney <gurney_j@resnet.uoregon.edu> To: Ivan Voras <ivoras@fer.hr> Cc: freebsd-hackers@freebsd.org Subject: Re: MIME-ifying sysctl types Message-ID: <20070507185303.GS17958@funkthat.com> In-Reply-To: <f1nq6f$j67$1@sea.gmane.org> References: <f1nko6$1v2$1@sea.gmane.org> <20070507175143.GR17958@funkthat.com> <f1nq6f$j67$1@sea.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Ivan Voras wrote this message on Mon, May 07, 2007 at 20:12 +0200: > John-Mark Gurney wrote: > > Ivan Voras wrote this message on Mon, May 07, 2007 at 18:39 +0200: > >> My proposal is to MIME-ify the Format fields, best presented in examples: > >> > >> "S,proc" -> "x-struct/proc" > >> "S,xfile" -> "x-struct/xfile" > > > > If you do, don't forget to add the version of the field to the > > mime-type as these structures change over time.. > > It's a good idea, maybe something like "x-struct/proc-v1", but is it > necessary without the XMLizing part? AFAIK the fields are currently > unversioned? no, I was thinking: "x-struct/proc;version=1"... Doesn't mean they shouldn't be.. Currently most tools detect different versions of structs by examining the size.. This isn't always safe as fields could get shuffled or meanings changed w/o changing the size.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070507185303.GS17958>