When I write the Raspberry Pi image to the SD card on Ubuntu using dd, I need to remove the card and plug it in again in order for it's images to be automatically mounted to e.g. /media/$(whoami)/boot/. So that I can touch /media/$(whoami)/boot/ssh to enable SSH.
Is there a way to force this auto-mounting of the partitions after dd?