User Tools

Site Tools


If you want to send us your comments, please do so. Thanks
More on comments

loop devices

Create a disk on a disk

Do as root

  • dd if=/dev/zero of=/opt/loopdevive bs=512 count=2048
  • mkfs.ext4 /opt/loopdevice
  • Check for any existing loop devices: cat /proc/mounts | grep “/dev/loop”
  • Mount with one of
    • losetup /dev/loop0 /opt/loopdevice /mnt/loopmountpoint
    • mount -t ext4 -o loop=/dev/loop0 /opt/loopdevice /mnt/loopmountpoint

Mount iso images

See local cddvd repository

Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy

Privacy statement
Bugs statement
Copyright © : 2014 - 2022 and the authors
Changes reserved.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
loop_devices.txt · Last modified: 28-04-2020 22:05 by wim