It's difficult to see how to fix this. External devices are scanned because people quite often use USB sticks or external drives with their music collections.
I'm not sure whether it is even possible for mediascanner to find out that some other arbitrary process has asked for a filesystem to be unmounted. If so, the daemon could back off. If not, I don't know what else it could/should do. For what it's worth, placing a file called .nomedia into a directory prevents scanning of that directory (and all its subdirectories). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1310186 Title: mediascanner prevents unmounting usb device To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mediascanner2/+bug/1310186/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs