From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 9 Sep 2001 21:29:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 9 Sep 2001 21:29:01 -0400 Received: from morrison.empeg.co.uk ([193.119.19.130]:43512 "EHLO fatboy.internal.empeg.com") by vger.kernel.org with ESMTP id ; Sun, 9 Sep 2001 21:28:44 -0400 Message-ID: <3B9C1767.2A35BFD2@riohome.com> Date: Mon, 10 Sep 2001 02:29:11 +0100 From: John Ripley X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.4.9 i686) X-Accept-Language: en MIME-Version: 1.0 To: Linux Kernel Mailing List CC: Xavier Bestel , VDA Subject: Re: COW fs (Re: Editing-in-place of a large file) In-Reply-To: <20010902152137.L23180@draal.physics.wisc.edu> <318476047.20010903002818@port.imtp.ilyichevsk.odessa.ua> <3B9B80E2.C9D5B947@riohome.com> <3B9B9917.DA1CC12F@riohome.com> <1000057292.1867.1.camel@nomade> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Xavier Bestel wrote: > > le dim 09-09-2001 at 18:30 John Ripley a _rit : > > > /dev/sda6 - /tmp - 210845 blocks, 17697 duplicates, 8.39% > > /dev/sda7 - /var - 32122 blocks, 5327 duplicates, 16.58% > > /dev/sdb5 - /home - 220885 blocks, 24541 duplicates, 11.11% > > /dev/sdc7 - /usr - 1084379 blocks, 122370 duplicates, 11.28% > > How many of these blocks actually belong to file data ? Hmm, good point: Filesystem 1024-blocks Used Available Capacity Mounted on /dev/sda6 841616 4508 837108 1% /tmp /dev/sda7 124407 63774 54209 54% /var /dev/sdb5 855138 677328 177810 79% /home /dev/sdc7 4191237 3946214 245023 94% /usr My thinking was that I've managed to run out of space on all of the partitions in the past and had to prune a lot of stuff... so nearly all the blocks should contain at least some "likely" data. Still, I guess I need to verify that this isn't distorting the results. The program needs to recurse over all files on the filesystem rather than all blocks on a partition. -- John Ripley