Allow fetching the pool from the device at mount
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 25 Jun 2013 22:43:09 +0000 (15:43 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 26 Jun 2013 22:20:09 +0000 (15:20 -0700)
To simplify integration with the xfstests test suite the
mount.zfs helper has been extended.  When passed a block
device (/dev/sdX) to mount, instead of a pool/dataset,
the pool name will be read from any existing zfs label
and used.  This allows you to mount the root dataset of
a zfs filesystem by specifing any of the member vdevs.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>

No differences found