summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-12-14 21:59:34 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-12-14 21:59:34 +0100
commit1d8787e10c03d8faa485c11540f61e972dda000e (patch)
tree6c89c08cff4e8ba5bc841efba5009ede38d5826a /src/core
parent20379e58e404560a7fbd9eb6e299b745cdd5963f (diff)
todo updates
Diffstat (limited to 'src/core')
-rw-r--r--src/core/libs/lib-blockdevices-filesystems.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh
index 4151c36..fd3c741 100644
--- a/src/core/libs/lib-blockdevices-filesystems.sh
+++ b/src/core/libs/lib-blockdevices-filesystems.sh
@@ -572,6 +572,7 @@ rollback_filesystems ()
for i in `awk '$2 ~ /dm_crypt/ {print $1}' $TMP_BLOCKDEVICES`; do cryptsetup isLuks $i >/dev/null && have_crypt=1; done
# TODO: Find a way to determine if a volume is used for a dm_crypt device.
# this is a workaround that checks if any of the specified dm_crypts is still active. These devices may not be using this lvm LV, but we don't do much harm in skipping anyway. The dm_crypts should be cleared otherwise there's a problem anyway.
+ # TODO: beware though. isLuks can exit(234) even though the volume isLuks .. :s
if [ $have_crypt -gt 0 ]
then
debug "$part ->Cannot do right now..."