Re: /sys/block vs. /sys/class/block
From: Stephen Rothwell (sfr_at_canb.auug.org.au)
Date: 12/22/04
- Previous message: David Brownell: "Re: [PATCH] USB: fix Scheduling while atomic warning when resuming."
- In reply to: Benjamin Herrenschmidt: "Re: /sys/block vs. /sys/class/block"
- Next in thread: Greg KH: "Re: /sys/block vs. /sys/class/block"
- Reply: Greg KH: "Re: /sys/block vs. /sys/class/block"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 22 Dec 2004 15:34:49 +1100 To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
On Tue, 21 Dec 2004 08:07:50 +0100 Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
>
> > 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 ?
Can I then make the obvious suggestion: add a symlink in /sys/class
linking to /sys/block and then reverse the symink once the above work has
been done and /sys/class/block has been created?
Or is that too gross? :-)
-- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/
-
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/
- application/pgp-signature attachment: stored
- Previous message: David Brownell: "Re: [PATCH] USB: fix Scheduling while atomic warning when resuming."
- In reply to: Benjamin Herrenschmidt: "Re: /sys/block vs. /sys/class/block"
- Next in thread: Greg KH: "Re: /sys/block vs. /sys/class/block"
- Reply: Greg KH: "Re: /sys/block vs. /sys/class/block"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|