From 8d5f211fc87ad595a6e7d32f3adddf216fad19ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Fri, 28 May 2021 18:52:48 +0200 Subject: [PATCH] i-t: don't suggest zpool-import with altroot to /root MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This *will fail* when remounted by the real root Reviewed-by: Brian Behlendorf Signed-off-by: Ahelenia ZiemiaƄska Closes #12148 --- contrib/initramfs/scripts/zfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/initramfs/scripts/zfs b/contrib/initramfs/scripts/zfs index 701e45e67b..b112ac0d28 100644 --- a/contrib/initramfs/scripts/zfs +++ b/contrib/initramfs/scripts/zfs @@ -875,7 +875,7 @@ mountroot() echo "" echo "No pool imported. Manually import the root pool" echo "at the command prompt and then exit." - echo "Hint: Try: zpool import -R ${rootmnt} -N ${ZFS_RPOOL}" + echo "Hint: Try: zpool import -N ${ZFS_RPOOL}" shell fi