o since you can't use DIOCGDINFO and DIOCGSLICEINFO on drive nodes with geom,   get the xml configuration for the devices and "parse" the information to   get what's needed o replace #ifdef DEBUG constructs with DPRINT/DPRINTX to make the code more   readable
o since you can't use DIOCGDINFO and DIOCGSLICEINFO on drive nodes with geom,
  get the xml configuration for the devices and "parse" the information to
  get what's needed
o replace #ifdef DEBUG constructs with DPRINT/DPRINTX to make the code more
  readable

Note the xml "parser" is very very hackish and should be replaced with a
real one.  This one was done to be very small and special-purpose; don't
think about copying it elsewhere.

Approved by:	phk

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase