Udisks2 snap removed? Alternatives?

Hi everyone,

im working on a little IOT Device which requires inserted USB’s to be auto mounted. I have been using the udisks2 snap with its auto mount feature in the past. Now i realized that the udisks2 snap is nowhere to be found. Does anyone know why its gone? Also does anyone have any alternatives?

Best regards

The snap was recently deprecated, which is why it’s no longer available in the store. In hindsight we should have posted a notice on this here ahead of time, and I’ll take the blame for that oversight.

The source code is available here:

The alternatives to building your own version of the snap is to use stage-packages to include udisks2 snap into your own snap, and then add your own logic to handle the automounting logic. udisks2 itself just monitors block devices and provides a DBus interface for other applications to introspect/monitor them. The snap also included some code which originated from the Ubuntu Touch project which actually performed the automatic mounting of USB drives when detected via the udisks2 DBus interface.


Thank you for your quick reply. I managed to implement my own mount/umount logic into my snap.

Probably one should add a deprecation note on the corresponding Ubuntu Core Docs Site?

May I ask why the snap was deprecated? It seems like the deb packages for Ubuntu are still maintained: https://packages.ubuntu.com/xenial/udisks2, https://packages.ubuntu.com/bionic/udisks2 , https://packages.ubuntu.com/focal/udisks2, etc. Would it be an alternative to hand the snap over to Snapcrafters to keep the snap alive?