On Sun, Oct 10, 2010 at 3:18 AM, sridhar surampudi <toyours_srid...@yahoo.co.in> wrote: > 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? > >
zfs upgrade zpool upgrade ? -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss