OpenFirmware devices and hotplug events

John H Rose johnrose at us.ibm.com
Thu Mar 18 05:33:19 EST 2004


>  The "ibm,drc-indexes" is a single node in the OpenFirmware tree, but
> why does it need to be one in the sysfs tree?

Currently, /proc/device-tree lays things out in a way that is
consistent w/ device tree structure.  One directory per node, one file
per property.  What you're describing would obscure this.  IMHO,
there's something to be said for having a faithful representation of
the kernel's device tree in userspace, even if some consider procfs
passe.

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list