Re: number of eth0 device

From: Lee Revell
Date: Wed Oct 19 2005 - 15:05:07 EST


On Wed, 2005-10-19 at 13:23 +0200, Mathieu Segaud wrote:
> well, the way NIC's behave kind of forbids this
> taken from Linux Device Drivers, 3rd Edition, page 497
> "The normal file operations (read, write, and so on) do not make sense
> when applied to network interfaces, so it is not possible to apply the
> Unix ''everything is a file'' approach to them"
>

Ditto sound cards, which is why ALSA abandoned the OSS "everything is a
file" paradigm for sound cards. Read/write etc. don't take into account
the inherent realtime constraints in streaming audio to/from a device.

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/