From owner-cvs-all Wed Mar 13 6:28:35 2002 Delivered-To: cvs-all@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 930EE37B405; Wed, 13 Mar 2002 06:28:32 -0800 (PST) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g2DESWH65843; Wed, 13 Mar 2002 06:28:32 -0800 (PST) (envelope-from rizzo) Date: Wed, 13 Mar 2002 06:28:32 -0800 From: Luigi Rizzo To: Robert Watson Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/nfsclient bootp_subr.c Message-ID: <20020313062832.C65602@iguana.icir.org> References: <20020313054705.B65383@iguana.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Mar 13, 2002 at 08:58:14AM -0500, Robert Watson wrote: ... > > I am not going, in the kernel, to escape characters which have special > > meaning for arbitrary userland programs -- that's their business. ... > I was wondering if the better approach wouldn't be to export the data as > SYSCTL_OPAQUE, since it really is just a binary blob. Otherwise it will in principle yes, though the goal is for this info to be easily usable in a resource-poor environment -- almost invariably, this parsing will be done in some shell script. So someone ultimately has to convert the binary blobs into a string of some sort. Whether this someone is "sysctl" or an external problem, I have no idea. I'd probably be inclined towards the former, which is useful anyways. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message