From e728a16478d10ae9351a2854d77ceba3664c9150 Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Sat, 8 May 2010 14:45:11 +0200 Subject: Port 83ef38409182a9c024809553dff8c872902d0889 to init_functions too, to remove more eval hacks --- init_functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init_functions') diff --git a/init_functions b/init_functions index c165ff0..1ae844b 100644 --- a/init_functions +++ b/init_functions @@ -73,7 +73,7 @@ default_mount_handler() { if [ -n "${rootfstype}" ]; then fstype="${rootfstype}" else - fstype=$(eval $(/sbin/blkid -o udev -p "${root}"); echo $ID_FS_TYPE) + fstype=$(sbin/blkid -u filesystem -o value -s TYPE -p "${root}") if [ -z "${fstype}" ]; then err "Unable to determine the file system type of ${root}:" echo "Either it contains no filesystem, an unknown filesystem," -- cgit v1.2.3-24-g4f1b