Date: Wed, 13 Mar 2002 06:28:32 -0800 From: Luigi Rizzo <luigi@FreeBSD.org> To: Robert Watson <rwatson@FreeBSD.org> 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> In-Reply-To: <Pine.NEB.3.96L.1020313085311.36618L-100000@fledge.watson.org> References: <20020313054705.B65383@iguana.icir.org> <Pine.NEB.3.96L.1020313085311.36618L-100000@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020313062832.C65602>