bootwrapper: relative finddevice()

2 messages, 2 authors, 2007-10-10 · open the first message on its own page

bootwrapper: relative finddevice()

From: Scott Wood <hidden>
Date: 2007-10-08 21:24:22

I'd like to expose flatdevtree's ability to do relative path lookups in 
ops, and I'd prefer to extend the existing finddevice method rather than 
add a new finddevice_rel.  However, I'm not very familiar with real OF 
-- how would one go about fixing its implementation?

-Scott

Re: bootwrapper: relative finddevice()

From: David Gibson <hidden>
Date: 2007-10-10 05:47:51

On Mon, Oct 08, 2007 at 04:24:34PM -0500, Scott Wood wrote:
I'd like to expose flatdevtree's ability to do relative path lookups in 
ops, and I'd prefer to extend the existing finddevice method rather than 
add a new finddevice_rel.  However, I'm not very familiar with real OF 
-- how would one go about fixing its implementation?
Well, it should be possible to do package-to-path on the start node,
join the paths then finddevice on the result.  I'm not sure if there's
an easier way.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help