initrd.scripts: move zfs_start_volumes outside of start_volumes

master
Fabio Erculiani 12 years ago
parent 9d66471c26
commit cd20666829

@ -2,6 +2,7 @@
. /etc/initrd.d/00-common.sh
. /etc/initrd.d/00-fsdev.sh
. /etc/initrd.d/00-devmgr.sh
_is_zfs() {
# Note: this only works after zfs_real_root_init
@ -101,6 +102,8 @@ zfs_start_volumes() {
fi
fi
fi
is_udev && udevadm settle
}
# Initialize the zfs root filesystem device and

@ -114,9 +114,6 @@ start_volumes() {
fi
fi
# If zfs is enabled, this will initialize the volumes
zfs_start_volumes
is_udev && udevadm settle
}

@ -270,6 +270,7 @@ start_iscsi
is_mdev && setup_md_device
start_volumes
zfs_start_volumes
setup_keymap

Loading…
Cancel
Save