1 |
Hello, |
2 |
|
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. |
6 |
|
7 |
An ethernet device is sometimes represented by the string "eth0". |
8 |
Regarding this string "eth0": |
9 |
|
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*" |
12 |
|
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)? |
18 |
|
19 |
3. How does (2) change when udev is running? |
20 |
|
21 |
Thank you, |
22 |
|
23 |
Chris |