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, 27 Oct 2010 13:10:33 +0000 (15:10 +0200)
commitcf5a1d2db470818386314a9f1752264e83077592
treeaa0f95f98a336c610d6d491041efc787bd561a52
parent1b17725ffc4a2f5026e052cf3094e04db850d5ea
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