dissect: when pulling metadata from an image, don't bother with /home or ESP
authorLennart Poettering <lennart@poettering.net>
Thu, 5 Apr 2018 11:15:43 +0000 (13:15 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 5 Apr 2018 11:15:43 +0000 (13:15 +0200)
commit429d4e414d70ecb03366fee2e2d7c0ca42d060ac
tree5c69996ea91e984789114f29112034f91889496e
parent0bb8dfaa537ba52071642484cd10b02e1516ea8c
dissect: when pulling metadata from an image, don't bother with /home or ESP

When we try to read meta-data from an image, don't bother with mounting
/home or the ESP, as that's not where the metadata is. This not only
speeds things up a bit, but also has the benefit that setups where an
unencrypted root is mixed with an encrypted /home (which I have on one
of my own systems) won't result in errors that the crypto key is needed.
src/shared/dissect-image.c