
Solaris::DeviceTree::Libdevinfo::Property - Property of a node of the Solaris devicetree

use Solaris::DeviceTree::Libdevinfo; $tree = new Solaris::DeviceTree::Libdevinfo; @disks = $tree->find_nodes( type => 'disk' ); @props = @disks->properties;


The following methods are available:
The constructor takes a SWIG-pointer to the C data structure of a minor node di_minor_t and a backreference to the Solaris::DeviceTree::Libdevinfo object which generates this instance.
This method returns the name of the property.
This method returns the devt-record of the property containing the major- and minor-number returned as list. If no devt-record is associated undef is returned.
This method returns the type of the property. Depending on the type the data of the property must be handled accordingly. Valid return types are:
boolean int string byte unknown undefined
This method returns the data associated with the property as list.


Copyright 1999-2003 Dagobert Michelsen.

Solaris::DeviceTree::Libdevinfo, libdevinfo, di_prop_bytes.