freebsd-dev/lib
Brian Behlendorf 7d11e37e55 Require libblkid
Historically libblkid support was detected as part of configure
and optionally enabled.  This was done because at the time support
for detecting ZFS pool vdevs had just be added to libblkid and
those updated packages were not yet part of many distributions.
This is no longer the case and any reasonably current distribution
will ship a version of libblkid which can detect ZFS pool vdevs.

This patch makes libblkid mandatory at build time and libblkid
the preferred method of scanning for ZFS pools.  For distributions
which include a modern version of libblkid there is no change in
behavior.  Explicitly scanning the default search paths is still
supported and can be enabled with the '-s' command line option.

Additionally making libblkid mandatory means that the 'zpool create'
command can reliably detect if a specified device has an existing
non-ZFS filesystem (ext4, xfs) and print a warning.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2448
2016-03-09 10:39:22 -08:00
..
libavl Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
libefi Fix cstyle issue from 7a02327 2015-12-04 14:37:41 -08:00
libnvpair Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
libshare Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
libspl Linux 4.5 compat: pfn_t typedef 2016-01-20 11:37:33 -08:00
libunicode Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
libuutil Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
libzfs Require libblkid 2016-03-09 10:39:22 -08:00
libzfs_core Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
libzpool kobj_read_file: Return -1 on vn_rdwr() error 2016-01-23 10:16:26 -08:00
Makefile.am Illumos #2882, #2883, #2900 2013-09-04 15:49:00 -07:00