Re: [PATCH] Futex Asynchronous Interface

From: Kai Henningsen (
Date: Mon Jun 10 2002 - 15:46:00 EST (Thunder from the hill) wrote on 10.06.02 in <Pine.LNX.4.44.0206100808180.6159-100000@hawkeye.luckynet.adm>:

> On Mon, 10 Jun 2002, Helge Hafting wrote:
> > ls /dev/net
> > eth0 eth1 eth2 ippp0
> What is it worth? You have a few more files which you can't do anything
> with, and ifconfig output is much more greppable etc.

Ifconfig output is *WHAT*?!

Ifconfig output, to be parsed by a script, is one of the shittiest
interfaces possible.

Look at this, and then tell me again that "ifconfig output is much more

# ifconfig eth0
eth0 Protokoll:Ethernet Hardware Adresse 00:50:FC:0C:63:69
          inet Adresse: Bcast: Maske:
          EtherTalk Phase 2 Adresse:65280/237
          RX packets:26841078 errors:4240 dropped:0 overruns:0 frame:0
          TX packets:26134055 errors:0 dropped:0 overruns:0 carrier:0
          RX bytes:60708618 (57.8 MiB) TX bytes:2654812652 (2.4 GiB)

# LANG= ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:50:FC:0C:63:69
          inet addr: Bcast: Mask:
          EtherTalk Phase 2 addr:65280/237
          RX packets:26841182 errors:4240 dropped:0 overruns:0 frame:0
          TX packets:26134181 errors:0 dropped:0 overruns:0 carrier:0
          RX bytes:60727233 (57.9 MiB) TX bytes:2654827939 (2.4 GiB)


Even rooting around in /proc is better than this!

> I remember these network devices from Solaris. There wasn't any good about
> them IIRC, the only sane way of working with them was to work around them,
> i.e. ignoring. Do you want a /dev/ignoreme directory?

I have no idea what Solaris did, nor do I necessarily want to know, but I
*do* have experience with what Linux does, and I'm certainly not

Given that I've fairly often been irritated about not having these things
be filesystem nodes, I'd expect there to *be* benefit in having them in
the filesystem if this is done halfway reasonable.

MfG Kai
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:19 EST