bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some questions about the translator that helps open the device


From: olafBuddenhagen
Subject: Re: Some questions about the translator that helps open the device
Date: Wed, 6 Aug 2008 17:27:53 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

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

[Prev in Thread] Current Thread [Next in Thread]