Allow GPT+EFI vdevs for root pools
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 6 Nov 2012 19:33:24 +0000 (11:33 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 30 Nov 2012 21:45:14 +0000 (13:45 -0800)
commitc372b36e3eba18d1a8747b8375e3e7c049d40c89
tree0d7a366b72826f73293fa72c0d930d53669b5ed4
parent004324ecc646ae909e721dc9eda8b1f57e9db71b
Allow GPT+EFI vdevs for root pools

Commit 57a4edd allows the bootfs property to be set on any pool.
However, many of the zpool commands still prevent you from using
EFI labeled devices for the root pool.  For example:

    # zpool attach rpool /dev/sda /dev/sdb
    cannot label 'sdb': EFI labeled devices are not supported on
    root pools. on root devices.

For non-Solaris builds such as Linux disable this error.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1077
lib/libzfs/libzfs_pool.c