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] [PATCH] large file support for lomount (for 32-bit dom0)

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] large file support for lomount (for 32-bit dom0)
From: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Date: Fri, 6 Nov 2009 09:33:42 -0800 (PST)
Cc:
Delivery-date: Fri, 06 Nov 2009 09:34:50 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C71A07D9.196B1%keir.fraser@xxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> From: Keir Fraser [mailto:keir.fraser@xxxxxxxxxxxxx]
> 
> On 06/11/2009 16:56, "Dan Magenheimer" 
> <dan.magenheimer@xxxxxxxxxx> wrote:
> 
> > Give lomount large file support on a 32-bit dom0 so that
> > file images larger than 4GB can be lomount'ed.
> 
> tools/misc/lomount/Makefile includes tools/Rules.mk which includes:
> ifneq ($(XEN_OS),NetBSD)
> # Enable implicit LFS support *and* explicit LFS names.
> CFLAGS  += $(shell getconf LFS_CFLAGS)
> CFLAGS  += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> LDFLAGS += $(shell getconf LFS_LDFLAGS)
> endif
> 
> So... lomount is already covered for LFS, and I just 
> confirmed that with an
> x86_32 test build. Did you not check that?

Hmmm... digging deeper... CONFIG_LOMOUNT isn't enabled
by a default build, so lomount doesn't get built.  Not
finding lomount in the usual places, and knowing that
it is a standalone .c file, I've always built it manually
with a cc command instead of using make.  Oops.

As the Saturday Night Live church lady would say:
"Never mind" :-}  (For those unfamiliar with it:
http://en.wikipedia.org/wiki/Never_mind_(Saturday_Night_Live)

TGIF

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