diff options
author | Richard Yao <ryao@gentoo.org> | 2016-01-20 13:54:33 -0500 |
---|---|---|
committer | Richard Yao <ryao@gentoo.org> | 2016-01-20 13:54:33 -0500 |
commit | 255d1f34ef55ee9c83983fec1057c1dde156ea26 (patch) | |
tree | c1980ed89aa5c1051d644a9d2ab1dc015c3d2ab3 | |
parent | Update ZFS advice for the kernel commandline (diff) | |
download | genkernel-255d1f34ef55ee9c83983fec1057c1dde156ea26.tar.gz genkernel-255d1f34ef55ee9c83983fec1057c1dde156ea26.tar.bz2 genkernel-255d1f34ef55ee9c83983fec1057c1dde156ea26.zip |
busybox mount takes -o move instead of --movezfs
Our attempt to move /dev into /newroot/dev fails because busybox's mount
does not understand --move. Instead it requires `-o move`. ZFS /dev/zd*
devices to be lost during the boot process.
At present, there is no nothing in userland that knows how to recreate
them from `/sys/devices/virtual/block`.
Signed-off-by: Richard Yao <ryao@gentoo.org>
-rw-r--r-- | defaults/linuxrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/defaults/linuxrc b/defaults/linuxrc index dc129ce0..66efda83 100644 --- a/defaults/linuxrc +++ b/defaults/linuxrc @@ -998,7 +998,7 @@ for fs in /dev /sys /proc do if grep -qs "$fs" /proc/mounts then - if ! mount --move $fs "${CHROOT}"$fs + if ! mount -o move $fs "${CHROOT}"$fs then umount $fs || \ bad_msg "Failed to move and unmount the ramdisk $fs!" |