Hint: Automounting, and auto-creation of custom install configuration could be "easily" done via udev rules, see https://linux.die.net/man/7/udev Check /lib/udev/rules.d/* for examples. These rules can be very powerful. Ideally they are part of the Flatpak itself. PS: Some people label they disk (partition) as "FLATPAK".