mirror_zfs/lib/libzfs
Ralf Ertzinger 8b921f667a Introduce zpool_get_prop_literal interface
This change introduces zpool_get_prop_literal. It's an expanded version
of zpool_get_prop taking one additional boolean parameter. With this
parameter set to B_FALSE it will behave identically to zpool_get_prop.
Setting it to B_TRUE will return full precision numbers for the
following properties:

ZPOOL_PROP_SIZE
ZPOOL_PROP_ALLOCATED
ZPOOL_PROP_FREE
ZPOOL_PROP_FREEING
ZPOOL_PROP_EXPANDSZ
ZPOOL_PROP_ASHIFT

Also introduced is a wrapper function for zpool_get_prop making it
use zpool_get_prop_literal in the background.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #1813
2013-10-28 14:27:53 -07:00
..
libzfs_changelist.c Recreate minors when renaming zvols 2012-11-19 16:59:44 -08:00
libzfs_config.c Illumos #3464 2013-09-04 16:01:24 -07:00
libzfs_dataset.c Increase default udev wait time 2013-10-22 10:25:51 -07:00
libzfs_diff.c Illumos #3464 2013-09-04 16:01:24 -07:00
libzfs_fru.c Illumos #3464 2013-09-04 16:01:24 -07:00
libzfs_graph.c Illumos #3464 2013-09-04 16:01:24 -07:00
libzfs_import.c Fix libblkid support 2013-10-10 16:56:51 -07:00
libzfs_iter.c Illumos #3464 2013-09-04 16:01:24 -07:00
libzfs_mount.c No point in rewind() mtab in zfs_unshare_proto(). We're not really 2013-08-15 10:18:31 -07:00
libzfs_pool.c Introduce zpool_get_prop_literal interface 2013-10-28 14:27:53 -07:00
libzfs_sendrecv.c Illumos #3464 2013-09-04 16:01:24 -07:00
libzfs_status.c Illumos #2762: zpool command should have better support for feature flags 2013-01-08 10:35:43 -08:00
libzfs_util.c Illumos #2882, #2883, #2900 2013-09-04 15:49:00 -07:00
Makefile.am Fix libzfs_core changes to follow GNU libtool guidelines 2013-10-10 16:56:51 -07:00