xfs
[Top] [All Lists]

TAKE - Make mkfs.xfs remove prior fs signatures

Subject: TAKE - Make mkfs.xfs remove prior fs signatures
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Fri, 11 Jan 2002 09:57:57 -0600
Sender: owner-linux-xfs@xxxxxxxxxxx
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
Workarea:  stout.americas.sgi.com:/localhome/eric/2.4.x-xfs/workarea-reallyclean

The following file(s) were checked into:
  bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs


Modid:  xfs-cmds:slinx:109443a
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 
last 64k 
          of device.  (Last 64k == MD superblock)



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE - Make mkfs.xfs remove prior fs signatures, Eric Sandeen <=