From: Erik Mouw <erik@harddisk-recovery.com>
To: Karel Kulhavy <clock@twibright.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: number of eth0 device
Date: Wed, 19 Oct 2005 12:42:40 +0200 [thread overview]
Message-ID: <20051019104240.GC31526@harddisk-recovery.com> (raw)
In-Reply-To: <20051019103135.GA9765@kestrel>
On Wed, Oct 19, 2005 at 12:31:35PM +0200, Karel Kulhavy wrote:
> I am looking into Documentation/devices.txt in 2.4.25 and eth0 is not listed
> there. If I grep "eth", I get only
>
> 38 char Myricom PCI Myrinet board
> [...]
> "This device is used for status query, board control and "user level
> packet I/O." This board is also accessible as a standard networking
> "eth" device. "
>
> and then
>
> /dev/pethr0
>
> Is eth0 some kind of special device that doesn't have any number
> assigned?
Yes, there's no such thing as /dev/eth0, network interfaces have their
own namespace. Linux uses the defacto standard BSD socket interface for
networking, so blame the BSD people for violating the "everything is a
file" rule.
Erik
--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
next prev parent reply other threads:[~2005-10-19 10:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-19 10:31 Karel Kulhavy
2005-10-19 10:42 ` Erik Mouw [this message]
2005-10-19 11:23 ` Mathieu Segaud
2005-10-19 11:36 ` Coywolf Qi Hunt
2005-10-19 19:34 ` Lee Revell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051019104240.GC31526@harddisk-recovery.com \
--to=erik@harddisk-recovery.com \
--cc=clock@twibright.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome