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

Greg KH
2005-09-16T21:58:18Z

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...

thanks,

greg k-h