Re: number of eth0 device

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

 



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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux