udisks2 with udiskie are set up to automount USB storage devices. Connecting a pen drive labeled MYDRIVE, it is mounted to:


When pulling the drive without prior unmounting, the above directory persists.

Is it possible to get stale mount points be deleted right away?

I've actually seen that happening in an several years old installation of Ubuntu. So it is possible, though perhaps not with udisks2: I don't know what software for managing removable media is part of that installation.

Update: Raised the issue on GitHub.

1 Answer 1


The maintainer of udiskie pointed out that stale mount points not being cleaned up is a bug in udisks2. In fact, after more tests, I can confirm that sometimes the mount point is deleted.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .