Exclude exclude device if mounted/part of other device, or any of its partition is used (same definition). Update this state whenever device or it's partition receives udev event. Fixes QubesOS/qubes-issues#1600 (cherry picked from commit efd9854376)
efd9854376
Some initial work was done, but apparently not complete and buggy.