[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] accessing loopback filesystem+partitions on a file

Luke Kenneth Casson Leighton wrote:

[if you are happy to reply at all, please reply cc'd thank you.]

Hi Luke,

the question is, therefore:

        * how the hell do you loopback mount (or lvm mount
          or _anything_! something!)  partitions that have
          been created in a loopback'd file!!!!
See http://lists.samba.org/archive/linux/2004-December/012627.html

In summary, if you have a single partition then you can use the following command:

mount -o loop,offset=32256 loop.img /mnt

There's mention of a replacement loopback driver that supports partitions but a quick google'ing didn't turn anything up.


Anthony Liguori

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.