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

From: Jesper Juhl
Date: Thu Sep 23 2004 - 04:04:18 EST


On Wed, 22 Sep 2004, Stephen Hemminger wrote:

> Date: Wed, 22 Sep 2004 15:30:28 -0700
> From: Stephen Hemminger <shemminger@xxxxxxxx>
> To: linux-kernel@xxxxxxxxxxxxxxx
> Subject: Re: /sys: Network device status: link; Hard disks?
>
> 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.

That is exactely what I've started to do, but it's taking me a little
while since I have limited time and have to learn about sysfs first. But
it's a nice learning experience and I'll post a patch as soon as I have
something that works resonably, but it might take me a few days.


--
Jesper Juhl

-
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/