From 07ce8961e52bc9c4f9f978357551c507239a7410 Mon Sep 17 00:00:00 2001 From: Chris McDonough <chrism@plope.com> Date: Mon, 24 Aug 2020 00:18:30 -0400 Subject: [PATCH] Improve documentation of zpool import -d/-c vs -s Specify that, by default, zpool import uses the libblkid cache on Linux and geom on FreeBSD, and only scans when -d/-s is provided. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Ryan Moeller <freqlabs@FreeBSD.org> Signed-off-by: Chris McDonough <chrism@plope.com> Closes #7656 Closes #10771 --- man/man8/zpool-import.8 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/man/man8/zpool-import.8 b/man/man8/zpool-import.8 index 6db5b0a455..e63db9363f 100644 --- a/man/man8/zpool-import.8 +++ b/man/man8/zpool-import.8 @@ -70,9 +70,10 @@ .Xc Lists pools available to import. If the -.Fl d -option is not specified, this command searches for devices in -.Pa /dev . +.Fl d or +.Fl c +options are not specified, this command searches for devices using libblkid +on Linux and geom on FreeBSD. The .Fl d option can be specified multiple times, and all directories are searched.