TIL that the directories that `snapd` binds are just hard-coded, right in the guts of the thing

https://github.com/canonical/snapd/blob/aad0536a921429dd7759f9654ea7503fc4f6a875/cmd/snap-confine/mount-support.c#L935-L950

snapd/cmd/snap-confine/mount-support.c at aad0536a921429dd7759f9654ea7503fc4f6a875 · canonical/snapd

The snapd and snap tools enable systems to work with .snap files. - canonical/snapd

GitHub
@SnoopJ I mean, you know snapd was made for IoT and not desktop use, right? Its whole point was to be a sort of smaller docker that you could run on a smart fridge or smart microwave, but then containerised desktop apps started being pushed by others and Canonical decided to put snapd on desktop.
@reiddragon I've not heard that claim before
@SnoopJ Well, look up its history; was made as part of Ubuntu Core (which could run *only* snaps), then it started also being pushed on desktop when Flatpak was picking up