Re: /sys/block vs. /sys/class/block
From: Benjamin Herrenschmidt (benh_at_kernel.crashing.org)
Date: 12/21/04
- Previous message: marvin24_at_gmx.de: "Re: [BUG] 2.6.10-rc3 snd-powermac crash"
- In reply to: Greg KH: "Re: /sys/block vs. /sys/class/block"
- Next in thread: Daniel Stekloff: "Re: /sys/block vs. /sys/class/block"
- Reply: Daniel Stekloff: "Re: /sys/block vs. /sys/class/block"
- Reply: Stephen Rothwell: "Re: /sys/block vs. /sys/class/block"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Greg KH <greg@kroah.com> Date: Tue, 21 Dec 2004 08:07:50 +0100
On Mon, 2004-12-20 at 14:49 -0800, Greg KH wrote:
> On Mon, Dec 20, 2004 at 08:08:52AM +0100, Benjamin Herrenschmidt wrote:
> > I'm trying to understand why we have /sys/block instead
> > of /sys/class/block, and so far, I haven't found a single good argument
> > justifying it... It just messes up the so far logical layout of sysfs
> > for no apparent reason.
>
> Because /sys/block happened before /sys/class did. Al Viro converted
> the block layer before I got the struct class stuff working properly
> during 2.5.
>
> And yes, I would like to convert the block layer to use the class stuff,
> but for right now, I can't as class devices don't allow
> sub-classes-devices, and getting to that work is _way_ down on my list
> of things to do.
but can't we at least artificially move it down to /sys/class anyway for
the sake of a sane userland API ?
Ben.
-
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/
- Previous message: marvin24_at_gmx.de: "Re: [BUG] 2.6.10-rc3 snd-powermac crash"
- In reply to: Greg KH: "Re: /sys/block vs. /sys/class/block"
- Next in thread: Daniel Stekloff: "Re: /sys/block vs. /sys/class/block"
- Reply: Daniel Stekloff: "Re: /sys/block vs. /sys/class/block"
- Reply: Stephen Rothwell: "Re: /sys/block vs. /sys/class/block"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|