detach-loopback: also don't bother detaching loopback block device /usr/ is running off
authorLennart Poettering <lennart@poettering.net>
Fri, 2 Jun 2023 09:42:08 +0000 (11:42 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 2 Jun 2023 13:56:06 +0000 (15:56 +0200)
commit9959797dbf2f14d4c7131e81e748f4081c9bbb9c
tree00390746fc6fa64571a6c43abe19fd72253965c8
parent2067a7ec7f4c8a353b8e2ece15a6a997e50808b0
detach-loopback: also don't bother detaching loopback block device /usr/ is running off

While we are at it, let's also clean this up a bit: unlike DM/MD devices
loopback devices are likely partitioned, hence trace the block device
through the partition layer and LUKS.
src/shutdown/detach-loopback.c