Messages in this thread |  | | Date | Fri, 14 Sep 2001 10:06:33 +0000 | From | Pavel Machek <> | Subject | Re: COW fs (Re: Editing-in-place of a large file) |
| |
Hi! > > 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. just cat /dev/urandom > file to fill it with garbage -- Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt, details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |