7

What is the etymology of the term loop device

Description: Wikipedia: loop device

3 Answers 3

2

I believe it is from loopback,

Loopback, or loop-back, refers to the routing of electronic signals, digital data streams, or flows of items back to their source without intentional processing or modification.

It is a loop device because it is backed by a file on a different file-system.

See also Loopback Device,

A Loopback Device is a mechanism used to interpret files as real devices. The main advantage of this method is that all tools used on real disks can be used with a loopback device.

1
  • Good enough. I would have named it differently.
    – H2ONaCl
    Commented Jul 7, 2014 at 14:52
1

I have no proof of this but I always took the term "loop device" to be drawn from the musical reference "loop".

Looping Music today typically employs tape delay/feedback systems, digital delay devices, or computers to create repetitions of sounds. These repetitions can either remain limited to simple repeated phrases, or they are allowed to add up to a complex sound texture which either stands for itself or is used as an atmospheric or rhythmic background for soloing or other musical expression.

Source: http://www.loopers-delight.com/history/Loophist.html

Also the Wikipedia page on music loops.

"A loop is a sample of a performance that has been edited to repeat seamlessly when the audio file is played end to end" (Hawkins 2004, p. 10).

Anything that can be fed back onto itself in some manner is a "loop", and is often the case with "loop devices", one is often mounting the contents of a file that's present on the current filesystem blown out as a pseudo directory structure within that same filesystem.

1
  • Your last paragraph explains it well I think. The music reference is unnecessary as it rather creates a loop with the definition... ;)
    – The Quark
    Commented Jan 20, 2022 at 12:26
0

I remember it the following way.

Imagine there is an external device, which replicates the data in your iso file. Insert it and mount it. The result will be the same as if you have run mount -o loop iso_image ...

Thus, when performing mount -o loop iso_image ..., a loop is formed in a sense: root device -> (refers to) -> imaginary external device replicating the iso image -> (refers back to) -> root device (because the iso image is stored physically on the root device).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .