We can't use vol_id since it was a part of udev.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@407 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Chris Gianelloni 19 years ago
parent f44c7b33d7
commit 8205c44f98

@ -411,8 +411,9 @@ do
findnfsmount
else
# mount ro so fsck doesn't barf later
REAL_ROOT_TYPE=`vol_id -t ${REAL_ROOT}`
mount -t ${REAL_ROOT_TYPE} -o ro ${REAL_ROOT} ${NEW_ROOT}
# REAL_ROOT_TYPE=`vol_id -t ${REAL_ROOT}`
# mount -t ${REAL_ROOT_TYPE} -o ro ${REAL_ROOT} ${NEW_ROOT}
mount -o ro ${REAL_ROOT} ${NEW_ROOT}
fi
# If mount is successful break out of the loop

Loading…
Cancel
Save