commit | c8b20b40ebf0278b2d100a964a32d8e13046f437 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Sat Sep 13 15:12:39 2014 -0700 |
committer | Theodore Ts'o <tytso@mit.edu> | Fri Sep 19 23:44:31 2014 -0400 |
tree | 306be54199dd7ff68505fbae2dfe158ca2d4bbe4 | |
parent | b598c517b394b0fa9de1a3cf709f780ca42d4583 [diff] |
misc: add plausibility checks to debugfs/tune2fs/dumpe2fs/e2fsck 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 <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>