Re: Ext2 defragmentation

Dancer (dancer@zeor.simegen.com)
Thu, 18 Nov 1999 04:35:34 +0000


"Theodore Y. Ts'o" wrote:
>
> Date: Wed, 17 Nov 1999 22:44:19 +0000
> From: dancer@zeor.simegen.com
>
> Assuming your superblock got trashed, would it be possible to get at
> the backup if it were a file in the filesystem?
>
> Yes, because I was assuming that mke2fs would arrange to place the
> superblock at a fixed, known location. The file in the filesystem was
> merely simply the way to reserve the blocks necessary for the backup,
> and to give a way for the user to reclaim those blocks if for some
> reason they were so desparate for space they couldn't give up those
> 12-20k of backup blocks.

Ah, of course. You'd have to avoid the thing getting moved around
subsequently by defrags and such, but yes...I see what you have in mind.

D

-
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/