Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Mar 2015 05:35:40 +0200
From:      "Sulev-Madis Silber (ketas)" <madis555@hot.ee>
To:        Arseny Nasokin <eirnym@gmail.com>
Cc:        freebsd-current <freebsd-current@freebsd.org>, Allan Jude <allanjude@freebsd.org>
Subject:   Re: Massive libxo-zation that breaks everything
Message-ID:  <54F3DA8C.9010602@hot.ee>
In-Reply-To: <CAO8GK0oFwQXb=wKNX%2Bp7fHguK-hk=EXr%2Bbrx1SWvkdnv4z3efQ@mail.gmail.com>
References:  <54F31510.7050607@hot.ee> <54F34B6E.2040809@astrodoggroup.com> <CAG=rPVfcB1Fy_8mHq-t5Ay07yrzuSGthQ0ZcGzvp0XG9gSSzkg@mail.gmail.com> <54F35F29.4000603@astrodoggroup.com> <54F36431.30506@freebsd.org> <CAO8GK0oFwQXb=wKNX%2Bp7fHguK-hk=EXr%2Bbrx1SWvkdnv4z3efQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
How about we allow JSON input on those utils too... Then we get into
full-blown hell faster.

Hmm... I would like to talk with system using JSON. JSON would be in
utils that are or at least function similarly to rm, mv, ls, find,
mount, zpool, zfs, geom, mdconfig, tar, df, netstat, ifconfig... (or
maybe even talk JSON directly to the kernel?!).
How to have all that goodness, while at same time not having extra
library dependency? Without that library the system wouldn't work at all
(and there is no fallback mode for "manual operation"). Fragile library
that requires you to have worse-than-bad-Perl-looking (funnily I write
lot of Perl myself) parts everywhere in your code. And requires huge set
of tests to verify correct operation.


Hope that you never see things like this:

> df
Shared object "libxo.so.0" not found, required by "df"

Or this:

> netstat -nhbdWi
Name      Mtu Network       Address              Ipkts Ierrs Idrop
Ibytes    Opkts Oerrs     Obytes  Coll Drop
smc0   %6s   1.5K <Link#1>      52:54:00:12:34:56 %8s     4.4M %5s     0
%5s     0 %10s       290M %8s     3.3M %5s     0 %10s       756M %5s
0 %5s     11
smc0        - fe80::5054:ff fe80::5054:ff:fe1 %8s     8.7K     -     -
%10s       592K %8s      17K     - %10s       1.0M     -     -
smc0        - 2001:ad0:91f: 2001:ad0:91f:0:50 %8s     4.4M     -     -
%10s       225M %8s     3.3M     - %10s       709M     -     -
smc0        - 10.0.0.0/24   10.0.0.48         %8s     4.0K     -     -
%10s       504K %8s     3.2K     - %10s       233K     -     -
lo0    %6s    16K <Link#2>                        %8s      272 %5s     0
%5s     0 %10s        24K %8s      272 %5s     0 %10s        24K %5s
0 %5s      0
lo0         - ::1/128       ::1               %8s      136     -     -
%10s        16K %8s      136     - %10s        16K     -     -
lo0         - fe80::1%lo0/6 fe80::1%lo0       %8s        0     -     -
%10s          0 %8s        7     - %10s        963     -     -
lo0         - 127.0.0.0/8   127.0.0.1         %8s      136     -     -
%10s       8.6K %8s      136     - %10s       8.6K     -     -

Or, at least you only see it (occasionally) in CURRENT.


( And, all current libxo issues seem to be fixed, for now... )



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