Enhancing devices search ordering.
authorT(A)ILS developers <amnesia@boum.org>
Wed, 20 Oct 2010 16:33:12 +0000 (18:33 +0200)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:59:20 +0000 (17:59 +0100)
commit55f18c76f09ca7e86bb14a1b5131ced120ba8026
treeaa0f95f98a336c610d6d491041efc787bd561a52
parent274ce8e4e2b902e4e7b4871c284cee0285cf18a6
Enhancing devices search ordering.

E.g. prefer mounting /dev/sdb1 rather than /dev/sdb.

The isohybrid feature makes both valid devices for being searched for a live
filesystem image. Previous code mounted /dev/sdb on /live/image which makes it
hard to create a second partition on the USB stick.

This brings the need to explicitly check whether the full device is in the
blacklist before even considering its subdevices: the previous blacklist
checking code worked because the full device was always considered before its
subdevices, which is not true anymore.
scripts/live-helpers