]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
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 9ae6e932d9ff355a58522d4571a86e116bbeb7a3..2d76ba625bd78ce243aab8ba8c263b1692748fad 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
                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
                ;;
        *)
                        done > /var/ipfire/extrahd/partitions
                ;;
        *)