From e4b33a47319511235db1092e4d6e5ddf6d50177f Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Sun, 26 Jul 2009 22:24:29 +0200 Subject: use debugging on get_anchestors_mount --- src/core/libs/lib-blockdevices-filesystems.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/libs/lib-blockdevices-filesystems.sh') diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh index 88c4675..fa31095 100644 --- a/src/core/libs/lib-blockdevices-filesystems.sh +++ b/src/core/libs/lib-blockdevices-filesystems.sh @@ -95,6 +95,7 @@ get_device_with_mount () { # /dev/sda2 raw # $1 a "recognizer": a string that will match the filesystem section uniquely (using egrep), such as ';;' or other specific attributes of the hosted filesystem(s) get_anchestors_mount () { + debug 'FS' "Finding anchestor for: $1" local buffer= read block type leftovers <<< `egrep "$1" $TMP_BLOCKDEVICES 2>/dev/null` [ -z "$type" ] && return 1 @@ -119,6 +120,7 @@ get_anchestors_mount () { get_anchestors_mount "$recognizer" && buffer="$buffer $ANSWER_DEVICES" fi + debug 'FS' "Found anchestors: $ANSWER_DEVICES" ANSWER_DEVICES=$buffer [ -n "$ANSWER_DEVICES" ] } -- cgit v1.2.3-54-g00ecf