How to resize /run (to make /run/shm bigger) properly - and where is it's' size set?

Solution 1:

In Ubuntu those mounts are configured in /lib/init/fstab, and as it says there in the default comments, to override the settings you can simply copy the line to /etc/fstab and modify as you see fit.

# /lib/init/fstab: static file system information.
#
# These are the filesystems that are always mounted on boot, you can
# override any of these by copying the appropriate line from this file into
# /etc/fstab and tweaking it as you see fit.  See fstab(5).