18.5 Mounting a File Containing a File System Image

A loop device allows you to access a file as a block device. For example, to mount a file that contains a DVD ISO image on the directory mount point /ISO:

# mount -t iso9660 -o ro,loop /var/ISO_files/V33411-01.iso /ISO

If required, create a permanent entry for the file system in /etc/fstab:

/var/ISO_files/V33411-01.iso          /ISO      iso9660    ro,loop     0 0