From owner-freebsd-fs@FreeBSD.ORG Tue Oct 3 14:03:51 2006 Return-Path: X-Original-To: freebsd-fs@FreeBSD.ORG Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D90416A4C9 for ; Tue, 3 Oct 2006 14:03:51 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id D087A43D55 for ; Tue, 3 Oct 2006 14:03:50 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k93E3lic009220; Tue, 3 Oct 2006 09:03:47 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <45226DC1.3080302@centtech.com> Date: Tue, 03 Oct 2006 09:03:45 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.7 (X11/20060923) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= References: <200609271744.k8RHipTS032655@lurza.secnetix.de> <451AC81E.5070803@centtech.com> <86y7rxh8v5.fsf@dwp.des.no> In-Reply-To: <86y7rxh8v5.fsf@dwp.des.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV 0.87.1/1984/Tue Oct 3 05:01:28 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: freebsd-fs@FreeBSD.ORG, Oliver Fromme Subject: Re: Hi: Porting Cramfs on FreeBSD X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Oct 2006 14:03:51 -0000 On 10/03/06 07:38, Dag-Erling Smørgrav wrote: > Eric Anderson writes: >> No, only inode+direntries need to fit into memory. So an FS with >> 1million inodes might take .5MB of memory (estimate). > > How are you going to do that? Whenever you want to read a file, > you'll have to start decompressing the entire tarball from the > beginning, since it's a single gzip stream. You can't just seek to an > arbitrary position in the stream and start decompressing there. > > DES First, that .5MB estimate was off by quite a bit - I'm not sure what I was calculating when I did that, but I know I was tired. :) Anyway, I'm not currently supporting compressed archives, but obviously they would be very useful and are on my roadmap. Tim Kientzle gave me some ideas, and I'll ping him again when I get to that point.' Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------