diff options
author | наб <[email protected]> | 2021-05-28 18:52:48 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-06-09 13:05:34 -0700 |
commit | 2f5c39137a8c24837e559b5ef3a9e9ce0fd71fa2 (patch) | |
tree | f2c7b9073955d63c6c0bae715fed24ec755909f1 /contrib | |
parent | 90d00230058c75ffe62419f844c511027e601e43 (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')
-rw-r--r-- | contrib/initramfs/scripts/zfs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/initramfs/scripts/zfs b/contrib/initramfs/scripts/zfs index 11097f77f..a125d71e7 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 |