Re: /sys/block vs. /sys/class/block

From: Jens Axboe (axboe_at_suse.de)
Date: 12/20/04

  • Next message: Matthias Andree: "BK-kernel-tools/shortlog update"
    Date:	Mon, 20 Dec 2004 10:45:06 +0100
    To: Nick Piggin <nickpiggin@yahoo.com.au>
    
    

    On Mon, Dec 20 2004, Nick Piggin wrote:
    > Benjamin Herrenschmidt wrote:
    > >>Seems like that's where it belongs.
    > >>
    > >>The reason why it is in /sys/block is because it is apparently a
    > >>"subsystem",
    > >>and using decl_subsys - drivers/block/genhd.c
    > >
    > >
    > >I'm not convinced ... If you look at how /sys is organized, it really
    > >doesn't make any sense ... block devives are really devices of "class
    > >block", wether we have a block "subsystem" in there is irrelevant imho.
    > >
    >
    > Sorry to be unclear: I was agreeing with you ;)
    >
    > I was just pointing out that the reason it is currently /sys/block is
    > that decl_subsys call.

    Ditto, the question is how to move it with as little pain as possible...
    I think the symlink approach would be fine.

    -- 
    Jens Axboe
    -
    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: Matthias Andree: "BK-kernel-tools/shortlog update"

    Relevant Pages

    • Re: Jiffies_64 for 2.4.22-ac
      ... and i forgot to compile test it since i was too tired. ... updated/fixed patch later today. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: BUG: Slowdown on 3000 socket-machines tracked down
      ... Nick Piggin wrote: ... > Well I hope that scheduler developments in progress will put future ... > Find local movie times and trailers on Yahoo! ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH 2.6.11-rc2 0/29] ide: driver updates
      ... but needs some testing (and I have h/w). ... I would ask Alan for his rationale before ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [RFC][PATCH] new timeofday arch specific hooks (v. A3)
      ... On Sat, 2005-03-12 at 16:52 +1100, Benjamin Herrenschmidt wrote: ... you can test the new time of day subsystem. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [RFC] Small PCI core patch
      ... On 11/21/05, Benjamin Herrenschmidt wrote: ... They really doesn't give a shit ... catch is the part about advancing the Linux desktop, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)