What Are All These Loop Devices? (Ubuntu/Snap Users Often

What Are All These Loop Devices? (Ubuntu/Snap Users Often Ask This.)

#Loop #Devices #UbuntuSnap #Users

“DistroTube”

What are loop devices? This is a question that comes up a lot these days, especially from Ubuntu users. This is due to the fact that Snap packages are mounted as loop devices.

 

To see the full content, share this page by clicking one of the buttons below

A PAST VIDEO I MENTIONED IN THIS VIDEO:
► – Move Your Home Directory To…

source
Concluzion: What Are All These Loop Devices? (Ubuntu/Snap Users Often Ask This.) – snap vs flatpak,arch linux,ubuntu snap,linux tutorial,linux snap,snap packages,gnu linux,linux distro,linux community,linux mint,appimage vs snap vs flatpak,linux,linux for beginners,command line,linux terminal,linux commands,windows vs linux,switch to linux,learn linux,distrotube,loop device,block device,lsblk command,losetup,snap packages vs apt,linux administrator,linux operating system

source

About danroo

Check Also

POTROS SALVAJES VS TECOS UAG

POTROS SALVAJES VS TECOS UAG #POTROS #SALVAJES #TECOS #UAG   To see the full content, …

27 comments

  1. they also polute gparted, iam not sure where root is when i see like 12 devices on single partition.

    i would happily use snaps on server, just.. get rid of this loop devices plz

  2. Oh man… What's wrong with you, Linux guys? Why don't you just call it "virtual" if it is virtual? Why "loop"? 😵‍💫

  3. Linux is fun and all but honestly its so frustrating trying to remember specific or "quirky" commands/parameters for one scenario. Like "lsblk -e 7" who comes up with this stuff

  4. This is incredible. So basically I can make a file and mount it as a virtual drive, use it to store data and then copy it on a new system? Copying just one file takes much less time, and I could use this method for my /home directory. This way I can take it anywhere. I could put in on a flash drive and copy to a new system and mout it there

  5. I would've thought that it would be permanent, so it's good that you "diverged" and went over that as well

  6. I hope u have a video on interactive shell setup, auto completion.. i need that

  7. Derek, I think you missed the core reason why loop devices are useful.

    There is almost no benefit of using loop devices instead of just mounting the filesystem from the image directly if the file is a partition image and contains a valid filesystem. After all, block devices are also files in Unix and it works the same way for ordinary files as well.

    But the full disk images are trickier. On Linux, udev automatically creates device files for the individual partitions (sda1, sda2, sdb1, nvme0n1p1, mmcblk0p1, etc.), but there is no equivalent functionality for disk images by default, so you can't mount partitions when they are inside a disk image. One way to get around this is to create a loop device with the offset of that specific partition you want to mount using with -o option and then mounting the loop device — just like as you mount a partition.

  8. Flatpak is also sandboxed and doesn't uses loop devices. How? Why?

  9. Check out Shufflecake, it takes this Loopback concept and runs all the way away with it for hidden and recursive filesystems.

  10. Why do snaps need the loop devices anyway? Can't they just mount the file directly? SInce everything is a file on Linux, what's the point of guiding the file through /dev/loop?

  11. You can install so many programms that never need loop devices and then theres snap that uses them for stuff like a calculator. I think less people would complain about that if it was actually needed and not just spam when you run lsblk.

  12. Hey DT, can you tell me your system dark gtk theme name which you use in your browsers, pcmanfm etc.. please 🥺.

  13. Pseudo devices or Sudo devices ammirite

  14. Are there any alternatives to Mastadon? New users ruined it. Its like reddit now.

  15. I immediately stopped watching and went on to try the commands, all in /tmp because I'm scared. I'm so glad you accidentally went over them! I put stuff in my image file and mounted and unmount it over and over

  16. can you do similar videos on stuff like sockets, ports, processes, etc.

  17. Should do an video on how Linux boots from power button to graphical application

  18. So, just like .dmg files on macOS? Then it's fine to me, I guess.

  19. i don't have any snaps because flatpaks do what i want them to also not a fan of snaps but if you want to use them that is fine

  20. Just use Debian, guys. There’s such a thing as nonfree repos, backports, testing, and even appimages. There’s no reason to deal with middlemen.

  21. Have a Happy Christmas and a Merry New Year!
    🎅💫

  22. This is kinda half ass demo with all the “ I didn’t mean to …”😂 however I do appreciate many of your other videos

  23. That's more soy than I can handle.

  24. This video left me more confused about this topic than I was before.

  25. I see that there are no snaps defined in fstab. Does that mean that snap system has separate tools to auto mount your snaps?

Leave a Reply