Re: /sys/block vs. /sys/class/block
From: Stephen Rothwell
Date: Tue Dec 21 2004 - 23:36:59 EST
On Tue, 21 Dec 2004 08:07:50 +0100 Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> 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? :-)
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
Description: PGP signature