summaryrefslogtreecommitdiffstats
path: root/init_functions
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2011-02-08 13:08:13 +0100
committerThomas Bächler <thomas@archlinux.org>2011-02-08 13:08:13 +0100
commitfe843c397a42b3ae73615830392a65908ad7d973 (patch)
tree9dd2a9b14de79c59a813e45a67262439c0cbd6bc /init_functions
parentd565355f1afac7eccf8cd46429a0b4550db64987 (diff)
downloadmkinitcpio-fe843c397a42b3ae73615830392a65908ad7d973.tar.gz
mkinitcpio-fe843c397a42b3ae73615830392a65908ad7d973.tar.xz
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.
Diffstat (limited to 'init_functions')
-rw-r--r--init_functions3
1 files changed, 0 insertions, 3 deletions
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"
}