Forrest logo
back to context overview

losetup

List of commands for losetup:

  • losetup:tldr:30dd2 losetup: Attach a file to a new free loop device and scan the device for partitions.
    $ sudo losetup --show --partscan -f /${filename}
    try on your machine
    explain this command
  • losetup:tldr:3a0a1 losetup: Attach a file to a given loop device.
    $ sudo losetup /dev/${loop} /${filename}
    try on your machine
    explain this command
  • losetup:tldr:522cf losetup: Detach all loop devices.
    $ sudo losetup -D
    try on your machine
    explain this command
  • losetup:tldr:a04c9 losetup: Detach a given loop device.
    $ sudo losetup -d /dev/${loop}
    try on your machine
    explain this command
  • losetup:tldr:c983f losetup: Attach a file to a read-only loop device.
    $ sudo losetup --read-only /dev/${loop} /${filename}
    try on your machine
    explain this command
  • losetup:tldr:d5ece losetup: List loop devices with detailed info.
    $ losetup -a
    try on your machine
    explain this command
back to context overview