Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Mar 2015 11:26:01 -0500
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Re: Massive libxo-zation that breaks everything
Message-ID:  <54F33D99.2060102@freebsd.org>
In-Reply-To: <54F31510.7050607@hot.ee>
References:  <54F31510.7050607@hot.ee>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54F33D99.2060102>