Re: [RFC] EDAC and /sys/devices/system

From: Greg KH
Date: Fri Nov 18 2005 - 19:41:41 EST


On Fri, Nov 18, 2005 at 02:37:44PM -0800, Doug Thompson wrote:
> Well, I have been playing now with the sysdev class of
> APIs for installing objects into /sys/devices/system.
> Unforturnately, the capabilities of that do not
> provide me with what I was wanting for EDAC.
>
> What I was wanting was an extra directory called
> 'edac'. In that directory was to be various types of
> edac devices (memory controller and PCI Parity to
> start)
>
> In the directory /sys/devices/system:
>
> edac/mc/mc0/<attr and controls>
> edac/mc/mc1/<attr and controls>
> edac/mc/<attr and controls>
>
> and
>
> edac/pci/<attr and controls>
>
> This would allow for future edac components.
>
> What I found out was that /sys/devices/system doesn't
> allow for nested subsystems. At least not from what I
> have read.

Why? It should work just fine, you might need to export a variable that
isn't global, right? It shouldn't be more complex than that.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/