Loop Device

In Unix-like operating systems, a loop device, vnd (vnode disk), or lofi (loopback file interface) is a pseudo-device that makes a file accessible as a block device.

Before use, a loop device must be connected to an existing file in the filesystem. The association provides the user with an API that allows the file to be used in place of a block special file (cf. device file system). Thus, if the file contains an entire file system, the file may then be mounted as if it were a disk device.

Files of this kind are often used for CD ISO images and floppy disc images. Mounting a file containing a filesystem via such a loop mount makes the files within that filesystem accessible. They appear in the mount point directory.

A loop device may allow some kind of data elaboration during this redirection. For example, the device may be the unencrypted version of an encrypted file. In such a case, the file associated with a loop device may be another pseudo-device. This is mostly useful when this device contains an encrypted file system. If supported, the loop device is in this case the decrypted version of the original encrypted file and can therefore be mounted as if it were a normal filesystem.

Read more about Loop Device:  Uses of Loop Mounting, Availability, Example

Famous quotes containing the word device:

    One good reason for the popularity of “reductionism” among the philosophical outposts of the Western Establishment is that it can be, and is, used as a device for trying to take the wind, so to speak, out of the sails of Marxism.... In essence reductionism is a kind of anti-Marxist caricature of Marxist determinism. It is what anti-Marxists pretend that Marxist determinism is.
    Claud Cockburn (1904–1981)