--- autodetect.orig 2011-03-02 13:56:43.036125666 +0100 +++ autodetect 2011-03-02 13:55:44.109459001 +0100 @@ -14,8 +14,7 @@ local rootdev if [ -f /proc/self/mountinfo -a -x /bin/findmnt ]; then - rootdev=$(/bin/findmnt -n -u -o source /) - /sbin/blkid -u filesystem -o value -s TYPE -p "${rootdev}" 2>/dev/null + /bin/findmnt -n -u -o fstype / 2>/dev/null fi }