From: Dan Magenheimer Subject: RE: [PATCH] large file support for lomount (for 32-bit dom0) Date: Fri, 6 Nov 2009 09:33:42 -0800 (PST) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=Windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser , "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org > From: Keir Fraser [mailto:keir.fraser@eu.citrix.com] >=20 > On 06/11/2009 16:56, "Dan Magenheimer"=20 > wrote: >=20 > > Give lomount large file support on a 32-bit dom0 so that > > file images larger than 4GB can be lomount'ed. >=20 > tools/misc/lomount/Makefile includes tools/Rules.mk which includes: > ifneq ($(XEN_OS),NetBSD) > # Enable implicit LFS support *and* explicit LFS names. > CFLAGS +=3D $(shell getconf LFS_CFLAGS) > CFLAGS +=3D -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE > LDFLAGS +=3D $(shell getconf LFS_LDFLAGS) > endif >=20 > So... lomount is already covered for LFS, and I just=20 > 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