If you are creating loop device with partitions you should use losetup -P. Then the partitions will be removed with the device detach.
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/899717 Title: [PATCH] Loopback device partition cleanup on detach Status in linux package in Ubuntu: Triaged Bug description: When you create partitions on a loop device, then detach the loop device, the partitions are left hanging around. This patch fixes the loop driver to clean them up. It has been forwarded upstream post 3.2-rc2. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/899717/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp

