OFWfs anyone?

Will Andrews will at csociety.org
Fri Jun 13 12:59:13 PDT 2003


On Fri, Jun 13, 2003 at 11:40:24AM -0700, John-Mark Gurney wrote:
> I was wondering if anyone was interested in an ofwfs?  I have it pretty
> much complete, except you can't open/close nodes yet and isn't too
> dynamice.  It does use extattr to query the properties of each node.
> 
> /ofwfs/SUNW,UltraAX-e2/SUNW,UltraSPARC-IIe at 0,0
> /ofwfs/SUNW,UltraAX-e2/pci at 1f,0/pci at 1/display at 6
> /ofwfs/SUNW,UltraAX-e2/pci at 1f,0/pci at 1/video at 5
> /ofwfs/SUNW,UltraAX-e2/pci at 1f,0/pci at 1,1/usb at 5,3
> /ofwfs/SUNW,UltraAX-e2/pci at 1f,0/pci at 1,1/usb at 5,3/mouse at 1
> 
> bash-2.05b$ getextattr system banner-name /ofwfs/SUNW,UltraAX-e2
> /ofwfs/SUNW,UltraAX-e2  Netra AX1105-500 (UltraSPARC-IIe 500MHz)
> 
> Should work find on ppc too.

How about using a sysctl tree instead of YAFS?

Regards,
-- 
wca


More information about the freebsd-sparc64 mailing list