aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/initramfs/scripts/zfs
diff options
context:
space:
mode:
authorнаб <[email protected]>2021-05-28 18:52:48 +0200
committerBrian Behlendorf <[email protected]>2021-05-29 21:33:53 -0700
commit8d5f211fc87ad595a6e7d32f3adddf216fad19ba (patch)
tree845f75bf7833dae60897df77fb19949ff58c422d /contrib/initramfs/scripts/zfs
parent7b5bf4758b034e4b12c20f3f99d09677678a3fa4 (diff)
i-t: don't suggest zpool-import with altroot to /root
This *will fail* when remounted by the real root Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #12148
Diffstat (limited to 'contrib/initramfs/scripts/zfs')
-rw-r--r--contrib/initramfs/scripts/zfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/initramfs/scripts/zfs b/contrib/initramfs/scripts/zfs
index 701e45e67..b112ac0d2 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