From fe843c397a42b3ae73615830392a65908ad7d973 Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Tue, 8 Feb 2011 13:08:13 +0100 Subject: Revert "mkinitcpio: mount real root device instead of symlink" This reverts commit 9ef825cedd8228957f9bdd8df7ae543afd7e0001. The introduced change was inconsistent with the standard 'mount' behaviour and caused lots of confusion among LVM users. --- init_functions | 3 --- 1 file changed, 3 deletions(-) (limited to 'init_functions') diff --git a/init_functions b/init_functions index 58b84b5..fb3039d 100644 --- a/init_functions +++ b/init_functions @@ -93,8 +93,5 @@ default_mount_handler() { else rwopt="ro" fi - if [ -L "${root}" ]; then - root=$(readlink -f "${root}") - fi mount ${fstype:+-t ${fstype}} -o ${rwopt}${rootflags:+,${rootflags}} "${root}" "$1" } -- cgit v1.2.3-24-g4f1b