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

From: Jesper Juhl (juhl-lkml_at_dif.dk)
Date: 09/23/04

  • Next message: Andi Kleen: "Re: page fault scalability patch V8: [4/7] universally available cmpxchg on i386"
    Date:	Thu, 23 Sep 2004 10:57:14 +0200 (CEST)
    To: Stephen Hemminger <shemminger@osdl.org>
    
    

    On Wed, 22 Sep 2004, Stephen Hemminger wrote:

    > Date: Wed, 22 Sep 2004 15:30:28 -0700
    > From: Stephen Hemminger <shemminger@osdl.org>
    > To: linux-kernel@vger.kernel.org
    > 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@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Andi Kleen: "Re: page fault scalability patch V8: [4/7] universally available cmpxchg on i386"

    Relevant Pages

    • Re: test of good_bytes in scsi_io_completion is always true (in drivers/scsi/scsi_lib.c)
      ... I never got any response to the mail below, ... the patch should make good sense... ... On Wed, 20 Apr 2005, Jesper Juhl wrote: ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.13-mm1
      ... Jesper Juhl wrote: ... > I'm wondering if it would be too much trouble to have a mm-drops list ... why did you drop my patch?". ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [patch] remove unnessesary casts from drivers/mtd/maps/nettel.c and kill two warnings
      ... I have been out on vacation the ... Jesper Juhl wrote: ... > Unfortunately I don't have hardware to test this patch, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: KVM & mouse wheel
      ... > Jesper Juhl wrote: ... Only the patch I sent helps me. ... No it is not - Synaptics with a track-point on a passthrough port will have ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.12-rc3-mm2
      ... On May 01 2005, Jesper Juhl wrote: ... I applied the patch now and I'm recompiling the kernel right now. ... Homepage on freshmeat: http://freshmeat.net/projects/algorithms/ ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)