Hi,

what is the right way to check versions of zfs and zpool ??

I am writing piece of code which call zfs command line further. Before actually 
initiating and going ahead I wan to check the kind of version zfs and zpool 
present on the system.

As an example "zpool split" is not present on prior to 134 build (not sure 
exactly) so if an application using my code should fail if "zpool split" is 
called. 

Is there any zfs version or zpool version command present in recent updates? or 
is there any other way ( reading some file ) I can get these details?


Thanks & Regards,
sridhar.
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to