Hi, I have noticed that the signature of zpool_iter has changed in the latest NV builds in comparison to Solaris 10 update 2. Unfortunately libzfs.h did not state that this is a private interface, so I assumed that it would be stable across various releases.
My sysstat tool uses libzfs.so dynamically, i.e. it calls dlopen to use it instead of letting the runtime linker do the work. Like this it is possible to compile sysstat once on Solaris 8 and use the same executable on releases 8 to 10 and provide zfs information when libzfs is available. Unfortunately this method breaks with the change of the signature, because zpool_iter requires an additional parameter now. How would it be possible for me to determine at runtime which version of libzfs is on the system and therefore be able to use the correct calling method? Any hints would be highly appreciated. TIA, Tom -- This messages posted from opensolaris.org
