3 ms·
The right term is a 'loopback device' which allows you to use a file on an existing filesystem as a block device. Here's what the flow looks like: open(/path/
by Spivak 8y ago
The right term is a 'loopback device' which allows you to use a file on an existing filesystem as a block device.
Here's what the flow looks like:
open(/path/to/myfile) ->
ext4 driver ->
block operations on /dev/loop0 ->
open(/path/to/loop-file) ->
block operations on the data region of the file ->
btrfs driver ->
block operations on /dev/sda