From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 16 13:50:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC0BE1065670 for ; Mon, 16 Mar 2009 13:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7CE2B8FC16 for ; Mon, 16 Mar 2009 13:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2GDo14U055358 for ; Mon, 16 Mar 2009 13:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2GDo1Ar055357; Mon, 16 Mar 2009 13:50:01 GMT (envelope-from gnats) Resent-Date: Mon, 16 Mar 2009 13:50:01 GMT Resent-Message-Id: <200903161350.n2GDo1Ar055357@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAC1D1065673 for ; Mon, 16 Mar 2009 13:41:14 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id B81E18FC2B for ; Mon, 16 Mar 2009 13:41:14 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n2GDfEkS099795 for ; Mon, 16 Mar 2009 13:41:14 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n2GDfD0s099794; Mon, 16 Mar 2009 13:41:13 GMT (envelope-from nobody) Message-Id: <200903161341.n2GDfD0s099794@www.freebsd.org> Date: Mon, 16 Mar 2009 13:41:13 GMT From: Dmitry To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/132697: port emulators/mtools can not handle FAT partitions bigger then 4GBytes X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2009 13:50:02 -0000 >Number: 132697 >Category: ports >Synopsis: port emulators/mtools can not handle FAT partitions bigger then 4GBytes >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 16 13:50:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Dmitry >Release: 7.1-STABLE >Organization: home >Environment: FreeBSD kazarov.mcm.ru 7.1-STABLE FreeBSD 7.1-STABLE #0: Sun Mar 15 20:21:45 MSK 2009 root@kazarov.mcm.ru:/var/tmp/obj/usr/src/sys/GENERIC i386 >Description: Port emulators/mtools can not handle FAT partitions bigger then 4GBytes. Copying to FAT partitions with mtools fails with "Big disks not supported on this architecture" error if FAT partition is bigger then 4G. Attached patch fixes this problem. >How-To-Repeat: >Fix: Patch attached with submission follows: --- llong.h.orig 2009-02-20 02:01:36.000000000 +0300 +++ llong.h 2009-03-16 16:13:24.000000000 +0300 @@ -25,7 +25,7 @@ /* if off_t is already 64 bits, be happy, and don't worry about the * loff_t and llseek stuff */ #define MT_OFF_T off_t -#define MT_SIZE_T size_t +#define MT_SIZE_T off_t #endif #ifndef MT_OFF_T >Release-Note: >Audit-Trail: >Unformatted: