HomeFreeBSD

Allow fetching the pool from the device at mount

Description

Allow fetching the pool from the device at mount

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>

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Jun 25 2013, 10:43 PM
Parents
rG389cf730cedd: Make spl directory setable when building rpms and add --buildroot
Branches
Unknown
Tags
Unknown