From owner-freebsd-arch@FreeBSD.ORG Wed Jan 5 23:12:47 2005 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE78516A4CE; Wed, 5 Jan 2005 23:12:47 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 934B343D1F; Wed, 5 Jan 2005 23:12:47 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 7A3F27A403; Wed, 5 Jan 2005 15:12:47 -0800 (PST) Message-ID: <41DC746F.4090409@elischer.org> Date: Wed, 05 Jan 2005 15:12:47 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: "M. Warner Losh" References: <41DB2B24.6050005@elischer.org> <20050104.203502.85411551.imp@bsdimp.com> <41DB8FD3.3030101@elischer.org> <20050105.093508.102576805.imp@bsdimp.com> In-Reply-To: <20050105.093508.102576805.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: arch@freebsd.org cc: scottl@freebsd.org cc: pjd@freebsd.org Subject: Re: BigDisk project: du(1) 64bit clean. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jan 2005 23:12:47 -0000 M. Warner Losh wrote: >In message: <41DB8FD3.3030101@elischer.org> > Julian Elischer writes: >: > I think that a big amount of this could be reduced by using simple >: > arrays rather than lists which are more memory efficient... >: >: but that just puts the problem a bit further away. > >We have to do it. If you don't have a file system to store a file, >then you cna't do this at all. When you are fscking /, you don't have >a file system. And if you have finished, nothing is yet mounted r/w. > I'm suggesting two version.. one tha tuses RAM and oen that uses files.. the filesystem that the files are written to would be done first with the RAM version.. We already do that here, though for different reasons. > >Warner > >