On Nov 30, 2021, at 16:19, Joe Zeff <joe(a)zeff.us> wrote:
Those mountpoints are loop devices (
https://en.wikipedia.org/wiki/Loop_device) and allow
you to treat a disk image file as though it were a disk partition. I don't think that
they take up any more disk space than the file they're mounting does, they just make
it easier to read the various files in the image.
The disk images take up space though, and even if you delete them, if the loopback mount
point still is running, the disk space won’t be available.
I don’t touch snaps, but it would appear you can examine what you have installed:
sudo snap list —all
And remove them with:
sudo shame remove $SNAP_NAME —revision $SNAP_REVISION
Taking the name and revision from the list output.
You can also just unmount them like any other filesystem but I think the snapd daemon has
a way to re-vivify dead mounts.
—
Jonathan Billings