From 14487ea9a6104c17b00c6fa7bcb65c617c7490c8 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 2 Jul 2016 11:06:50 -0400 Subject: init: handle rootfstype as a synonym for fstype rootfstype is handled by the kernel, so we should handle it, too. ref: https://bugs.archlinux.org/task/45117 --- init_functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init_functions b/init_functions index 11ce3ca..05f4ab0 100644 --- a/init_functions +++ b/init_functions @@ -124,6 +124,7 @@ parse_cmdline() { \#*) break ;; # special cases rw|ro) rwopt=$_w ;; + fstype) rootfstype=$_w ;; fsck.mode=*) case ${_w#*=} in force) @@ -323,7 +324,7 @@ default_mount_handler() { fi msg ":: mounting '$root' on real root" - if ! mount ${fstype:+-t $fstype} -o ${rwopt:-ro}${rootflags:+,$rootflags} "$root" "$1"; then + if ! mount ${rootfstype:+-t $rootfstype} -o ${rwopt:-ro}${rootflags:+,$rootflags} "$root" "$1"; then echo "You are now being dropped into an emergency shell." launch_interactive_shell msg "Trying to continue (this will most likely fail) ..." -- cgit v1.2.3-24-g4f1b