diff options
author | Dave Reisner <dreisner@archlinux.org> | 2017-03-11 18:25:32 +0100 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2017-03-11 19:09:10 +0100 |
commit | 15cab4d017c7cc46b8234bfa641fcef2b28207b6 (patch) | |
tree | a32e7d1cf6aa0f8e1b9498952e6787feb71814bf | |
parent | f6275f0d91c8ad06bf0847eb7542755b8ea9e3c7 (diff) | |
download | mkinitcpio-15cab4d017c7cc46b8234bfa641fcef2b28207b6.tar.gz mkinitcpio-15cab4d017c7cc46b8234bfa641fcef2b28207b6.tar.xz |
init: drop pre-mount check for block devicev23
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
-rw-r--r-- | init_functions | 8 |
1 files changed, 0 insertions, 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." |