tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Printing the device tree

On Fri, Jan 08, 2010 at 11:56:59PM +0100, Joerg Sonnenberger wrote:
> Hi all,
> someone asked a while ago for a script to print the device tree in a
> nicely formatted fashion. Attached is a script to either draw some ASCII
> art or produce dot output for graphviz (with -d). Comments?

I like it.  How about printing a device subtree when the caller provides
an optional argument, the name of the root of the tree?


David Young             OJC Technologies      Urbana, IL * (217) 278-3933

Home | Main Index | Thread Index | Old Index