lkml.org 
[lkml]   [2005]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: number of eth0 device
From
Date
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-10-19 22:07    [from the cache]
©2003-2011 Jasper Spaans