[PATCH] xfs_mkfs: wipe old signatures from the device
Karel Zak
kzak at redhat.com
Wed Feb 13 02:01:54 CST 2013
On Wed, Feb 13, 2013 at 07:27:53AM +1100, Dave Chinner wrote:
> Isn't 128k of zeroing enough to kill existing filesystem signatures?
Really no.
> If not how much is, and why can't we just change WHACK_SIZE to
> reflect the size that will kill those signatures that are further
> offset into the device?
btrfs: first superblock at 64KB, second at 64MB, third at 256GB.
zfs has at least 4 blocks at the begin and end of the device.
GPT has the backup table at the end of the device.
RAIDs have signatures also at the end of the device, etc.
Karel
--
Karel Zak <kzak at redhat.com>
http://karelzak.blogspot.com
More information about the xfs
mailing list