Hi,

On Wed, Aug 06, 2008 at 10:44:44AM +0100, Samuel Thibault wrote:
> Michael Casadevall, le Wed 06 Aug 2008 00:22:55 -0400, a écrit :

> Well, I guess that if linux didn't add eth0 to /dev, that must be
> because there is more to it than just read/write (like MAC address
> configuration etc).

Well, if it was only *additional* operations that are required, there
would be no problem -- that's what ioctl()s are used for. The point is
rather that for network devices, the *standard* IO operations make no
sense.

Admittedly, Linux is not quite consistent there: DRM for example does
use a device file, although (AFAIK) there is no standard IO either...

-antrik-


Reply via email to