Re: /sys: Network device status: link; Hard disks?

From: Stephen Hemminger
Date: Wed Sep 22 2004 - 17:33:47 EST


You probably just want to expose the state of netif_carrier_ok (and netif_running).
Doing it in net-sysfs.c is trivial. I was hoping someone else would learn something
and do it for me.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/