summaryrefslogtreecommitdiff
path: root/src/core/libs/lib-blockdevices-filesystems.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/libs/lib-blockdevices-filesystems.sh')
-rw-r--r--src/core/libs/lib-blockdevices-filesystems.sh2
1 files changed, 2 insertions, 0 deletions
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 ';<mountpoint>;' 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" ]
}