Re: [RFC] subclasses in sysfs to solve world peace

Dmitry Torokhov
2005-09-16T22:56:51Z

On 9/16/05, Greg KH <gregkh@suse.de> wrote:
> On Fri, Sep 16, 2005 at 10:44:36AM -0500, Dmitry Torokhov wrote:
> > I'll try fix the patch I posted last night (that implements the above,
> > or at least what Kay described with sub-devices residing under their
> > parent devices and symlinked into their classes), I believe it could
> > also be used for block, so it will be like:
> >
> > .../block/
> > |-- devices
> > | |-- sda
> > | | |-- device -> ../../../../
> > | | |-- sda1
> > | | | |-- dev
> > | | | `-- device -> ../../../../../block/partitions/sda1
> > | | |-- sda2
> > | | | |-- dev
> > | | | `-- device -> ../../../../../block/partitions/sda2
> > ...
> > `-- partitions
> > |-- sda1 -> ../../../class/block/devices/sda/sda1
> > |-- sda2 -> ../../../class/block/devices/sda/sda2
>
> Nah, that's a mess. I think the proposal I had would work for both
> input and block with a minimum of disruption. Still don't know about
> video though, David said he would take some time this weekend to get me
> some feedback, which is good, as I have to get on a 14 hour plane ride
> soon...
>

You have to adjust udev to accept mouseX being not on /sys/class/input
level anyway so disruption is still here.

--
Dmitry