netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* dummy ethernet devices and sysfs
@ 2016-01-13 19:58 Warren Turkal
  2016-01-13 20:16 ` Stephen Hemminger
  0 siblings, 1 reply; 3+ messages in thread
From: Warren Turkal @ 2016-01-13 19:58 UTC (permalink / raw)
  To: netdev

Hi,

I was looking through sysfs today, and something interesting jumped
out at me after I loaded the dummy module.

This directory exists: /sys/class/net/wlp2s0/device/

This directory does not: /sys/class/net/dummy0/device/

I can find the module that is providing the wlp2s0 device with the following:
$ ls /sys/class/net/wlp2s0/device/driver/module/drivers/
pci:iwlwifi

Shouldn't dummy have something similar so that one can figure out
which module is providing the dummy0 device?

FWIW, I am running the latest Ubuntu 15.10 kernel (4.2.0-23-generic).

Thanks,
wt

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

end of thread, other threads:[~2016-01-13 22:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-13 19:58 dummy ethernet devices and sysfs Warren Turkal
2016-01-13 20:16 ` Stephen Hemminger
2016-01-13 22:54   ` Warren Turkal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).