Score:0

How to find unwanted loopback devices and remove them?

tm flag

I tried to create a loopback device using losetup -fP command but I received this error.

losetup: cannot find an unused loop device

Then I checked my loopback devices using losetup -a command and here are the results I got.

/dev/loop1: []: (/var/lib/snapd/snaps/code_68.snap)
/dev/loop8: []: (/var/lib/snapd/snaps/snap-store_518.snap)
/dev/loop6: []: (/var/lib/snapd/snaps/core18_2074.snap)
/dev/loop4: []: (/var/lib/snapd/snaps/gtk-common-themes_1514.snap)
/dev/loop11: []: (/var/lib/snapd/snaps/snapd_12398.snap)
/dev/loop2: []: (/var/lib/snapd/snaps/core18_1988.snap)
/dev/loop0: []: (/var/lib/snapd/snaps/core_11316.snap)
/dev/loop9: []: (/var/lib/snapd/snaps/snap-store_547.snap)
/dev/loop7: []: (/var/lib/snapd/snaps/gtk-common-themes_1515.snap)
/dev/loop5: []: (/var/lib/snapd/snaps/gnome-3-34-1804_72.snap)
/dev/loop3: []: (/var/lib/snapd/snaps/gnome-3-34-1804_66.snap)
/dev/loop10: []: (/var/lib/snapd/snaps/snapd_11036.snap)

How to find unwanted loopback devices and remove those unwanted devices or how I create a new loopback device? I'm just a beginner and your help is really appreciated :)

user535733 avatar
cn flag
Those are Snaps. If you *really* want to remove Snaps, do so the correct way. Do not try to remove them using the method you propose. That will merely cause you more problems.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.