freebsd-dev/cmd
Turbo Fredriksson 859735c095 Add the '-a' option to 'zpool export'
Support exporting all imported pools in one go, using 'zpool export -a'.

This is accomplished by moving the export parts from zpool_do_export()
in to the new function zpool_export_one().  The for_each_pool() function
is used to enumerate the list of pools to be exported.  Passing an argc
of 0 implies the function should be called on all pools.

Signed-off-by: Turbo Fredriksson <turbo@bayour.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes: #3203
2015-05-04 10:17:08 -07:00
..
arc_summary Replace sysctl summary with tunables summary. 2015-01-28 11:05:53 -08:00
arcstat Print header properly when terminal resizes 2014-11-14 15:32:30 -08:00
dbufstat Python 3 fixes 2013-11-08 14:30:29 -08:00
fsck_zfs Add /sbin/fsck.zfs helper 2013-01-09 16:54:58 -08:00
mount_zfs Check all vdev labels in 'zpool import' 2015-03-25 14:52:52 -07:00
vdev_id vdev_id: use mawk-compatible regular expression 2014-12-19 12:05:16 -08:00
zdb Illumos 3654,3656 2015-05-04 09:41:09 -07:00
zed Combine data-notify.sh with io-notify.sh 2015-04-27 12:08:08 -07:00
zfs Illumos 4951 - ZFS administrative commands should use reserved space 2015-05-04 09:41:10 -07:00
zhack Illumos 4951 - ZFS administrative commands should use reserved space 2015-05-04 09:41:10 -07:00
zinject Make command line guid parsing more tolerant 2014-04-02 13:10:08 -07:00
zpios Fix error message in zpios 2014-01-29 15:11:56 -08:00
zpool Add the '-a' option to 'zpool export' 2015-05-04 10:17:08 -07:00
zstreamdump Illumos 4373 - add block contents print to zstreamdump 2015-05-04 09:41:10 -07:00
ztest Avoid dladdr() in ztest 2015-02-27 13:54:15 -08:00
zvol_id Improve zvol symlink handling. 2014-11-06 11:13:18 -08:00
Makefile.am Install arc_summary.py 2015-03-03 13:38:17 -08:00