From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: accessing loopback filesystem+partitions on a file Date: Tue, 28 Jun 2005 19:30:58 -0500 Message-ID: <42C1EBC2.8090305@us.ibm.com> References: <20050628234917.GE9087@lkcl.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20050628234917.GE9087@lkcl.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Luke Kenneth Casson Leighton Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Luke Kenneth Casson Leighton wrote: >[if you are happy to reply at all, please reply cc'd thank you.] > >hi, > > 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. Regards, Anthony Liguori