From: Arne Fitzenreiter Date: Thu, 9 Dec 2010 22:29:41 +0000 (+0100) Subject: extra hd: disabled blkid cache use. X-Git-Tag: v2.9-beta1~13 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=15834b62223bdbd98832a0429eea2b5eddbce56f extra hd: disabled blkid cache use. --- diff --git a/src/scripts/scanhd b/src/scripts/scanhd index 9ae6e932d9..2d76ba625b 100644 --- a/src/scripts/scanhd +++ b/src/scripts/scanhd @@ -8,7 +8,7 @@ case "$1" in cat /proc/partitions | awk '{print $4 " " $3 }' | grep -v name | grep -v "^[:space:]*$" | \ while read device size; do [ -z "${device}" ] && continue - echo "${device};${size};$(blkid -s UUID -o value /dev/${device});" + echo "${device};${size};$(blkid -c /dev/null -s UUID -o value /dev/${device});" done > /var/ipfire/extrahd/partitions ;; *)