Am Mittwoch, 27. Februar 2013 schrieb Roman Mamedov: > On Wed, 27 Feb 2013 13:23:23 +1100 > > "Fajar A. Nugraha" <l...@fajar.net> wrote: > > Not to mention the hassle in accessing the data if it resides on a > > partition inside the file (e.g. you need losetup + kpartx to access it, > > and you must remember to do the reverse when you're finished with it). > > > > > > > > In zfsonlinux it's very easy to do so since a zvol is treated pretty > > much like a disk, and whenever there's a partition inside a zvol, a > > coressponding device noed is also created automatically. > > So I'd say what you (we) need is a generic Linux kernel framework that > would allow treating any regular file pretty much like a disk. Not some > filesystem-specific block device emulation kludge. > > Btw some years ago there was a patchset adding proper automatic partition > support to 'loop'; but it seems like that went nowhere, and I have no > idea why something this useful did not end up being added into the > mainline kernel.
Are you sure about the partition support? I thought something related to loop partition support has gone into some not so recent kernel. -- Martin 'Helios' Steigerwald - http://www.Lichtvoll.de GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html