From owner-freebsd-hackers@FreeBSD.ORG Mon May 7 18:29:35 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EBC1716A400 for ; Mon, 7 May 2007 18:29:35 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from www.pkgsrc-box.org (www.ostsee-abc.de [62.206.222.50]) by mx1.freebsd.org (Postfix) with ESMTP id AE74413C447 for ; Mon, 7 May 2007 18:29:35 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from britannica.bec.de (www.pkgsrc-box.org [127.0.0.1]) by www.pkgsrc-box.org (Postfix) with ESMTP id E559DE7A3F9 for ; Mon, 7 May 2007 17:35:13 +0000 (UTC) Received: by britannica.bec.de (Postfix, from userid 1000) id 72BB922C; Mon, 7 May 2007 20:00:16 +0200 (CEST) Date: Mon, 7 May 2007 20:00:15 +0200 From: Joerg Sonnenberger To: freebsd-hackers@freebsd.org Message-ID: <20070507180015.GA694@britannica.bec.de> Mail-Followup-To: freebsd-hackers@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: MIME-ifying sysctl types X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 May 2007 18:29:36 -0000 On Mon, May 07, 2007 at 06:39:34PM +0200, Ivan Voras wrote: > My proposal is to MIME-ify the Format fields, best presented in examples: > > "S,proc" -> "x-struct/proc" > "S,xfile" -> "x-struct/xfile" The format field is intended for the interpretation of userland programs like sysctl. For those fields, the human user is barely able to find meaning in the fields -- so this doesn't really help much but changing the kernel ABI. Which should be considered A Bad Thing (TM). Joerg