From owner-freebsd-current@FreeBSD.ORG Wed Mar 10 15:00:01 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66AB016A4CE for ; Wed, 10 Mar 2004 15:00:01 -0800 (PST) Received: from mail2.speakeasy.net (mail2.speakeasy.net [216.254.0.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4330E43D39 for ; Wed, 10 Mar 2004 15:00:01 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 26066 invoked from network); 10 Mar 2004 23:00:00 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 10 Mar 2004 23:00:00 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.10/8.12.10) with ESMTP id i2AMWt28031666; Wed, 10 Mar 2004 17:32:56 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Wed, 10 Mar 2004 16:51:18 -0500 User-Agent: KMail/1.6 References: <7m7jxth70h.wl@black.imgsrc.co.jp> <200403101309.32292.jhb@FreeBSD.org> In-Reply-To: <200403101309.32292.jhb@FreeBSD.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200403101651.18220.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Jun Kuriyama Subject: Re: Expand libdisk to use 64bit size/offset X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2004 23:00:01 -0000 On Wednesday 10 March 2004 01:09 pm, John Baldwin wrote: > On Tuesday 09 March 2004 07:37 pm, Jun Kuriyama wrote: > > I found sysinstall(8) cannot handle TB class storage. It looks > > both of libdisk and sysinstall should be fixed. > > > > I'm trying to improve this situation, but I'm not sure I'm going to > > the right direction. Please look this patch (including my debugging > > stuff and XXX comments which should be resolved/removed). > > > > http://www.imgsrc.co.jp/~kuriyama/BSD/libdisk-20040310.diff > > > > I choose daddr_t as larger storage for offset, size and end member of > > "struct chunk". I think offset and end is okay, but I don't know > > daddr_t for offset is correct or not. > > dadd_t is a uint32_t, so it won't help. Just use off_t for chunk > offset/size/end. I actually have a version of libdisk that uses off_t btw. It's from Julian's 64-bit sysinstall patch. I haven't finished fixing up the sysinstall part of the patch yet, but I can give you a diff of what I have if you are interested. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org