From owner-freebsd-current@FreeBSD.ORG Sun Mar 1 16:26:10 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7D9FC2EA for ; Sun, 1 Mar 2015 16:26:10 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 5643F2F5 for ; Sun, 1 Mar 2015 16:26:09 +0000 (UTC) Received: from [192.168.1.2] (Seawolf.HML3.ScaleEngine.net [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 42E7F9366D for ; Sun, 1 Mar 2015 16:26:03 +0000 (UTC) Message-ID: <54F33D99.2060102@freebsd.org> Date: Sun, 01 Mar 2015 11:26:01 -0500 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: Massive libxo-zation that breaks everything References: <54F31510.7050607@hot.ee> In-Reply-To: <54F31510.7050607@hot.ee> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ji7pKcvd5vk4sMLRScIx7QugpqU7ONcEc" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Mar 2015 16:26:10 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ji7pKcvd5vk4sMLRScIx7QugpqU7ONcEc Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015-03-01 08:33, Sulev-Madis Silber (ketas) wrote: > Hello. >=20 > First, I would be happy to have JSON and XML output about filesystems, > users, routes... but I don't like how it makes code of df, w, netstat > hard to read/maintain and often broken. >=20 > I don't think it would be good to continue with this. Maybe the effort > should be put to creating new layer/library and then something on top o= f > it that actually outputs JSON and XML. >=20 > Or, if that's too difficult... maybe just regular df/w/netstat could be= > copied to somewhere else and made code libxo-output-only. And original > df/w/netstat changes reverted and left alone. >=20 > Then, maybe later, df/w/netstat/... could be updated to this new > layer/library. Or maybe this should be just left as it is. >=20 > That would mean having two netstat's in system, which could be both goo= d > (separation) and bad (maintaining). >=20 > Just some ideas... I don't know how to solve this issue fully. I'm also= > not likely the one who would write code for all this. Hell, those aren'= t > even all my ideas here. I just worry that system drop-in xo-zation is > bad for overall health of base. >=20 > Oh and, it makes rescue larger and more complex, too? On that, there wa= s > suggestion to maybe create separate "first aid kit" and "emergency room= " > types of system rescue utils/methods. >=20 >=20 > Thanks. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o= rg" >=20 Is there a specific bug you are running in to? So far the only bugs I've seen with the xo-ification have been ones where the JSON output was not always well formed. --=20 Allan Jude --ji7pKcvd5vk4sMLRScIx7QugpqU7ONcEc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJU8z2cAAoJEJrBFpNRJZKfuOcQAJ1IoB9K9juB+0MRW0c7A7v8 O1gM+IKyzTHuCagmUABH3LE3fR2VFhg+ZSsjdMj8AcstWCgfOk/KpcGXV0o1edJz U0T+e72D2rwfLpSxLbqF41f+fwDNOUMaGl2FUF11GlXs1EuKsAl99OWbobb8X0FG WvObM47TclFJS+CrA+1+FsQIm8YROVq8H1TAb2Qi1Ob6Vv/vWg1FQqWcsMQ5A5GG 7fBYJhomjC6uHfWoGA78yAwAPvdPyZKFnVCMRIQILN+8pVDPxXr1kreVlDwOjvPh 2B2RfrCBaWkbg4z2G2fCBOSi6UvThlIYoELwW3xFtutxWLE/KWv1kc5YtMdhr5sc y6VN6YL7M5cGW1BRPjwTBmtARz74uNfrUAqBME6BEklbcd4YQ3qyZst7aLzf4MfU ewbNfVgKOuC3EQfiLipUAojoxjrkJWtlDqfNyC+W5irZqp372T8UDyoB9PHrsUbj edpMUESPo/0N4ZRd3QXJ0t26wrlzeoy0exHPrygx+9Lk8BbKf9hU7Q5HmlZbdPhC mc+L2b23GyzOWWJYN9FwlqgUwYWQi5GdKHDX+et+Ibw7DVzywG77wmlS8WknKcNI fSTKk8ApIPEuPSW0RFSJ1Ea2atEjjjyMYan9mU55zA8iV+Jr3+qNcgoGkNVRntNB n5itg1rqTOLQJtbS2yVm =dZHx -----END PGP SIGNATURE----- --ji7pKcvd5vk4sMLRScIx7QugpqU7ONcEc--