X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-helpers;h=b90637a625d0a98a871bd3e1c42ffab51ddd5244;hb=285412f944154e428f9da10f0e270aa85afe9276;hp=ee59247f1613c3a19ced18290b44b4f8dbf91202;hpb=49f4d23bf89af431c787138641bdc6a61e042794;p=live-boot-grml.git diff --git a/scripts/live-helpers b/scripts/live-helpers index ee59247..b90637a 100644 --- a/scripts/live-helpers +++ b/scripts/live-helpers @@ -973,7 +973,9 @@ find_persistence_media () local white_listed_devices="${3}" local ret="" - for dev in $(storage_devices "" "${white_listed_devices}") + local black_listed_devices="$(what_is_mounted_on /live/image)" + + for dev in $(storage_devices "${black_listed_devices}" "${white_listed_devices}") do local result=""