0
I have been hacking around with files as filesystems, for things like encrypted volumes and the like. This tutorial uses losetup
and a /dev/loopX
device to facilitate the mount process. However, another tutorial does not, they just mount file.fs /mnt/tmp
.
Is the /dev/loop approach best practice? I could not get the first example of the first tutorial (using losetup
) to work as-is, though mount -o /dev/loopX
worked for me. The second tutorial worked fine just as well, though it looks like based on df
it automagically created a /dev/loopX
...soo is this approach even any different?
This question is similar, but not quite, it asks about journalling on top of loopback. https://superuser.com/a/266177/617695
By "modern mount" are we talking anything since at least, say, Debian 8 / ubuntu 16.04? – DeusXMachina – 2019-12-18T16:02:50.550
@DeusXMachina More like since Debian 1.1 (1996), if this comment is right. Ubuntu started few years later.
– Kamil Maciorowski – 2019-12-18T16:21:17.473