From 2f5c39137a8c24837e559b5ef3a9e9ce0fd71fa2 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 11097f77ff..a125d71e73 100644 --- a/contrib/initramfs/scripts/zfs +++ b/contrib/initramfs/scripts/zfs @@ -878,7 +878,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