On 2014-07-02 13:18, Bernhard Voelker wrote:
On 07/02/2014 01:03 PM, Carlos E. R. wrote:
On 2014-07-02 12:34, Bernhard Voelker wrote:
a) Loop-mounting is of course a bit slower than a native disk.
I think I read this was no longer the case. :-?
I don't have numbers, but a loop-mount is just another level of indirection via the file system the backing file is stored in.
I know. But, in theory, an operating system can create a table of the sectors used by the loop file, and use that table instead of calling the filesystem libs to access the file. The file itself is static, it doesn't change in size nor location, at least while mounted: thus you really do not need to access the filesytem structures. If the file is not fragmented, then it should be as fast as a real partition. This technique is used for swap files. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)