Even after a mkfs.xfs, old filesystem signatures could still be on the disk,
and mount or parted's heuristics could fail when determining fs type.
This change zeros the first 68k and last 64k on the device, which should
remove all known traces of prior filesystems.
o Swap signature, ext[2,3], reiserfs, and ext2 in first 64k
o MD superblock in last 64k
Date: Fri Jan 11 07:47:53 PST 2002
The following file(s) were checked into:
cmd/xfsprogs/doc/CHANGES - 1.49
- Update changelog for old fs signature removal.
cmd/xfsprogs/mkfs/xfs_mkfs.c - 1.20
- Remove all traces of prior filesystems by zeroing out first 68k and
of device. (Last 64k == MD superblock)