aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Yao <ryao@gentoo.org>2016-01-20 13:54:33 -0500
committerRichard Yao <ryao@gentoo.org>2016-01-20 13:54:33 -0500
commit255d1f34ef55ee9c83983fec1057c1dde156ea26 (patch)
treec1980ed89aa5c1051d644a9d2ab1dc015c3d2ab3
parentUpdate ZFS advice for the kernel commandline (diff)
downloadgenkernel-zfs.tar.gz
genkernel-zfs.tar.bz2
genkernel-zfs.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/linuxrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/defaults/linuxrc b/defaults/linuxrc
index dc129ce..66efda8 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!"