Messages in this thread | | | Date | Mon, 10 Jun 2002 08:11:21 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: [PATCH] Futex Asynchronous Interface |
| |
On Mon, 10 Jun 2002, Helge Hafting wrote: > > Not much, but > ls /dev/net > eth0 eth1 eth2 ippp0 > would be a convenient way to see what net devices exists. > This already works for other devices, when using devfs.
You might as well do
cat /proc/net/dev
instead.
Which works with existing kernels, going back to whatever..
Linus
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |