extra hd: disabled blkid cache use.
authorArne Fitzenreiter <arne_f@ipfire.org>
Thu, 9 Dec 2010 22:29:41 +0000 (23:29 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 9 Dec 2010 22:29:41 +0000 (23:29 +0100)
src/scripts/scanhd

index 9ae6e93..2d76ba6 100644 (file)
@@ -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
                ;;
        *)