Gentoo Archives: gentoo-user

From: Chris Stankevitz <chrisstankevitz@×××××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: [gentoo-user] Without udev, who/what names ethernet devices?
Date: Fri, 07 Jun 2013 04:13:08
1 Hello,
3 A USB serial device is identified by the characters "/dev/ttyUSB0".
4 One might call this string a "device on your filesystem" and it can be
5 opened/closed just like any other entry in the filesystem.
7 An ethernet device is sometimes represented by the string "eth0".
8 Regarding this string "eth0":
10 1. What does this string represent? Is it a file on a filesystem?
11 (no!) Is it okay for me to call it an "ethernet *device*"
13 2. Assuming udev is not running, who/what comes up with the name
14 "eth0"? How does that person/thing know how many ethernet devices
15 there are and in what order to enumerate them? What happens if
16 ethernet devices are dynamically added (e.g. a USB ethernet device or
17 a driver being loaded/unloaded)?
19 3. How does (2) change when udev is running?
21 Thank you,
23 Chris


Subject Author
Re: [gentoo-user] Without udev, who/what names ethernet devices? Alan McKinnon <alan.mckinnon@×××××.com>