WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Luke Kenneth Casson Leighton <lkcl@xxxxxxxx>
Subject: Re: [Xen-devel] accessing loopback filesystem+partitions on a file
From: Anthony Liguori <aliguori@xxxxxxxxxx>
Date: Tue, 28 Jun 2005 19:30:58 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 29 Jun 2005 00:30:03 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20050628234917.GE9087@xxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20050628234917.GE9087@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050317)
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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>