[PATCH] xfs_db: exit on invalid magic number
Felix Blyakher
felixb at sgi.com
Fri Jan 30 09:29:50 CST 2009
On Jan 30, 2009, at 1:47 AM, Christoph Hellwig wrote:
> Fail gracefully and with a useful error message when we detect an
> invalid superblock magic in xfs_db. Add a new -F flag to continue
> when seeing the invalid magic number - that way xfs_check and
> xfs_metadump can be used on a filesystem that has a corrupted primary
> superblock.
>
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
Reviewed-by: Felix Blyakher <felixb at sgi.com>
More information about the xfs
mailing list