Also blacklisting findiso and fromiso devices for luks file persistence.
authorDavid Hare <davidahare@gmail.com>
Mon, 6 May 2013 12:22:12 +0000 (14:22 +0200)
committerDaniel Baumann <mail@daniel-baumann.ch>
Mon, 6 May 2013 12:26:41 +0000 (14:26 +0200)
scripts/boot/9990-misc-helpers.sh

index 611d602..5c5341c 100755 (executable)
@@ -938,7 +938,7 @@ find_persistence_media ()
        white_listed_devices="${2}"
        ret=""
 
-       black_listed_devices="$(what_is_mounted_on /live/medium)"
+       black_listed_devices="$(what_is_mounted_on /live/medium) $(what_is_mounted_on /live/findiso) $(what_is_mounted_on /live/fromiso)"
 
        for dev in $(storage_devices "${black_listed_devices}" "${white_listed_devices}")
        do