xfs
[Top] [All Lists]

Re: [PATCH] xfs_db: exit on invalid magic number

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: [PATCH] xfs_db: exit on invalid magic number
From: Felix Blyakher <felixb@xxxxxxx>
Date: Fri, 30 Jan 2009 09:29:50 -0600
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20090130074714.GA30377@xxxxxxxxxxxxx>
References: <20090130074714.GA30377@xxxxxxxxxxxxx>

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@xxxxxx>

Reviewed-by: Felix Blyakher <felixb@xxxxxxx>

<Prev in Thread] Current Thread [Next in Thread>