public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Without udev, who/what names ethernet devices?
@ 2013-06-07  4:12 Chris Stankevitz
  2013-06-07  8:06 ` Alan McKinnon
  0 siblings, 1 reply; 7+ messages in thread
From: Chris Stankevitz @ 2013-06-07  4:12 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

Hello,

A USB serial device is identified by the characters "/dev/ttyUSB0".
One might call this string a "device on your filesystem" and it can be
opened/closed just like any other entry in the filesystem.

An ethernet device is sometimes represented by the string "eth0".
Regarding this string "eth0":

1. What does this string represent?  Is it a file on a filesystem?
(no!)  Is it okay for me to call it an "ethernet *device*"

2. Assuming udev is not running, who/what comes up with the name
"eth0"?  How does that person/thing know how many ethernet devices
there are and in what order to enumerate them?  What happens if
ethernet devices are dynamically added (e.g. a USB ethernet device or
a driver being loaded/unloaded)?

3. How does (2) change when udev is running?

Thank you,

Chris


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-06-07 18:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-07  4:12 [gentoo-user] Without udev, who/what names ethernet devices? Chris Stankevitz
2013-06-07  8:06 ` Alan McKinnon
2013-06-07 13:47   ` Mick
2013-06-07 15:05   ` Chris Stankevitz
2013-06-07 18:09     ` Samuli Suominen
2013-06-07 18:12       ` Samuli Suominen
2013-06-07 18:35         ` Chris Stankevitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox