lkml.org 
[lkml]   [1999]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Ext2 defragmentation
On Wed, Nov 17, 1999 at 10:03:36AM -0600, danielt@digi.com wrote:
> The superblock at the first 32M should always be there.
> It would be the first backup with 4k blocks and the
> fourth with 1k blocks (or the second with 2k blocks?).

... unless of course you have sparse superblocks turned on.
As I remember, the algorithm is to put a superblock at every multiple of
3, 5, and 7:

0, 1, 3, 5, 7, 9, 25, 27, 49, 81, 125, 243, 343, ...

--
Matthew Wilcox <willy@bofh.ai>
"Windows and MacOS are products, contrived by engineers in the service of
specific companies. Unix, by contrast, is not so much a product as it is a
painstakingly compiled oral history of the hacker subculture." - N Stephenson

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.215 / U:1.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site