HomeFreeBSD

zpool: allow relative vdev paths

Description

zpool: allow relative vdev paths

zpool create won't let you use relative paths to disks. This is
annoying when you want to do:

zpool create tank ./diskfile

But have to do..

zpool create tank pwd/diskfile

This fixes it.

Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #17042

Details

Provenance
Tony Hutter <hutter2@llnl.gov>Authored on Tue, Feb 25, 7:40 PM
GitHub <noreply@github.com>Committed on Tue, Feb 25, 7:40 PM
Parents
rGab3db6d15d16: arc: avoid possible deadlock in arc_read
Branches
Unknown
Tags
Unknown