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.
What are them? Should I keep it?
Thank you.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityWhile 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.
What are them? Should I keep it?
Thank you.
/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.