Improve cleanup of loop devices
authorDarshaka Pathirana <dpat@syn-net.org>
Wed, 25 Jul 2018 10:14:37 +0000 (12:14 +0200)
committerDarshaka Pathirana <dpat@syn-net.org>
Wed, 14 Nov 2018 16:38:12 +0000 (17:38 +0100)
commit33d0e7f675e3f805cbd23dcfd5989e24cf5b0db6
tree2f3f9f3c75c036f24722b27e8044671d1743ce25
parent3eede4fdddffb2484f2387f3c6547f0a22d0f80c
Improve cleanup of loop devices

kpartx (sometimes) does not cleanup the loop devices when deleting the
partition devmappings. This is a known bug, see Debian Bug #891077.

This is change is a possible workaround for that issue.

Now aborting grml-debootstrap is possible without leaving unneded loop
devices behind.
grml-debootstrap