From: Theodore Ts'o Subject: Re: [PATCH 13/34] misc: add plausibility checks to debugfs/tune2fs/dumpe2fs/e2fsck Date: Fri, 19 Sep 2014 19:00:06 -0400 Message-ID: <20140919230006.GU26995@thunk.org> References: <20140913221112.13646.3873.stgit@birch.djwong.org> <20140913221239.13646.32074.stgit@birch.djwong.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-ext4@vger.kernel.org To: "Darrick J. Wong" Return-path: Received: from imap.thunk.org ([74.207.234.97]:38395 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932237AbaISXAJ (ORCPT ); Fri, 19 Sep 2014 19:00:09 -0400 Content-Disposition: inline In-Reply-To: <20140913221239.13646.32074.stgit@birch.djwong.org> Sender: linux-ext4-owner@vger.kernel.org List-ID: On Sat, Sep 13, 2014 at 03:12:39PM -0700, Darrick J. Wong wrote: > If any of these utilities detect a bad superblock magic, call > check_plausibility to see if blkid can identify the passed-in argument > as something else (xfs, partition, etc.) in the hopes of catching a > user error. > > Signed-off-by: Darrick J. Wong Applied, thanks. - Ted