so 2 things come to my mind right now.... Does the kernel (loop driver) do the right thing by not clear/reset the loop device' stats after the umount/detached operation ?
and/or Does parted need to be smarter and not only based is detection on stat() to assume if its a legit device or not to be probed ? Let's circle back on Jan 2020. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1856871 Title: i/o error if next unused loop device is queried To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856871/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs