iproute2 and libbpf: vendoring on the small scale
iproute2 and libbpf: vendoring on the small scale
Posted Nov 16, 2020 22:08 UTC (Mon) by mbunkus (subscriber, #87248)In reply to: iproute2 and libbpf: vendoring on the small scale by dancol
Parent article: iproute2 and libbpf: vendoring on the small scale
Therefore I think that this…
> A few minor human-centered tweaks to "ip"'s interface would go a long way towards making people prefer it to "ifconfig".
…is a fool's errand. For example:
To _me_ the tabular layout of ip's counters is much easier to grasp at a glance. To _me_ seeing the queueing discipline is important. To _me_ having long lines is actually a boon as I'm running terminals that are much wider than 80 characters (as monitors have been way wider than tall for decades now I find wrapping at 80 absolutely unreasonable). That all addresses (both IPv4 and IPv6) are written in prefix notation and that I don't have to convert between netmask & prefix length is a huge boon for me. Dealing with IPv6 a lot I absolutely need to see the relevant flags (e.g. "temporary" or "mngtmpaddr").
Last but certainly not least: whenever I need to parse that information I simply let ip output JSON. That alone is a total killer argument for _me_.
My point is not that ip is better than ifconfig, just that there is no "standard human", and therefore saying thinks like "human-centered" is so imprecise that it's worthless.