From: Prasad Joshi Date: Mon, 4 Jul 2011 22:45:35 +0000 (+0100) Subject: Use consistent error message in zpool sub-command X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=5a52105925e461e45f4948fc77695b25d3fa3009;hp=5a52105925e461e45f4948fc77695b25d3fa3009;p=zfs.git Use consistent error message in zpool sub-command The zpool sub-commands like iostat, list, and status should display consistent message when a given pool is unavailable or no pool is present. This change unifies the default behavior as follows: root@prasad:~# ./zpool list 1 2 no pools available no pools available root@prasad:~# ./zpool iostat 1 2 no pools available no pools available root@prasad:~# ./zpool status 1 2 no pools available no pools available root@prasad:~# ./zpool list tan 1 2 cannot open 'tan': no such pool root@prasad:~# ./zpool iostat tan 1 2 cannot open 'tan': no such pool root@prasad:~# ./zpool status tan 1 2 cannot open 'tan': no such pool Reported-by: Rajshree Thorat Signed-off-by: Prasad Joshi Signed-off-by: Brian Behlendorf Closes #306 ---