summaryrefslogtreecommitdiff
path: root/scripts/live
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-04-30 18:52:47 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:08 +0100
commit24b9fd1c70013f5847d3a4658e56bd44534e7890 (patch)
tree6e6d6ca7a8e91127ba542f129767ddd5a554a64d /scripts/live
parent43f7b85d0f1ae734f67e0508899fabac8b2951c9 (diff)
downloadlive-boot-24b9fd1c70013f5847d3a4658e56bd44534e7890.tar.gz
live-boot-24b9fd1c70013f5847d3a4658e56bd44534e7890.zip
Merging casper 1.199.
Diffstat (limited to 'scripts/live')
-rwxr-xr-xscripts/live3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/live b/scripts/live
index 23ba434..76b0be4 100755
--- a/scripts/live
+++ b/scripts/live
@@ -672,6 +672,9 @@ is_nice_device ()
elif echo "${sysfs_path}" | grep -q '^/block/vd[a-z]$'
then
return 0
+ elif echo ${sysfs_path} | grep -q "^/block/dm-"
+ then
+ return 0
fi
return 1