RE: accessing loopback filesystem+partitions on a file

Ian Pratt
2005-06-29T07:14:41Z

> basically, the thing that is missing (or i can't find it)
> from linux is a driver with the ability to present [any]
> block devices with their major+minor numbers as a
> [fsck-]recogniseable block device with its own major number,
> with the implicit ability to create minor numbers within it.

The easiest thing to use is the 'lomount' utility that comes with qemu.

http://www.dad-answers.com/qemu/utilities/QEMU-HD-Mounter/lomount/lomoun
t.c

There's also kpartx which is part of device mapper, but its rather
trickier to build.

I think we should pull lomount into our tree until kpartx becomes
ubiquitous.

Ian