2

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.

FeDos
  • 23

2 Answers2

5

/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.

5

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.