From 15cab4d017c7cc46b8234bfa641fcef2b28207b6 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 11 Mar 2017 12:25:32 -0500 Subject: init: drop pre-mount check for block device Not all root devices are block devices, after all. Rely on mount doing the right thing (or not). ref: https://bugs.archlinux.org/task/45118 ref: https://bugs.archlinux.org/task/35529 --- init_functions | 8 -------- 1 file changed, 8 deletions(-) diff --git a/init_functions b/init_functions index dfe2036..8ad10c7 100644 --- a/init_functions +++ b/init_functions @@ -374,14 +374,6 @@ resolve_device() { } default_mount_handler() { - if [ ! -b "$root" ]; then - err "Unable to find root device '$root'." - echo "You are being dropped to a recovery shell" - echo " Type 'exit' to try and continue booting" - launch_interactive_shell - msg "Trying to continue (this will most likely fail) ..." - fi - msg ":: mounting '$root' on real root" if ! mount ${rootfstype:+-t $rootfstype} -o ${rwopt:-ro}${rootflags:+,$rootflags} "$root" "$1"; then echo "You are now being dropped into an emergency shell." -- cgit v1.2.3-24-g4f1b