While I was checking my disk space today with df -h I noticed all these /dev/loopXX partitions which I don't know what they really are.

enter image description here

What are them? Should I keep it?

Thank you.


2 Answers 2


/dev/loop devices are devices which make regular files viewed as block devices. They are managed by losetup. I invite you to type losetup -l to see which is mapped to which.

See also https://askubuntu.com/questions/1047456/why-are-all-snaps-being-mounted-and-listed-as-block-devices-or-partitions-for-ub about why snap creates them.


These are loop devices, files mapped as a block devices. In your case these are created and used by snap packages on your system and you should just ignore them.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .