[PATCH v2 1/5] xfs_repair: refuse to run if we don't recognize version or feature flags
Eric Sandeen
sandeen at sandeen.net
Wed May 27 11:26:55 CDT 2015
On 5/27/15 11:04 AM, Fanael Linithien wrote:
> I'm not entirely sure silently ignoring unknown compat features in
> xfs_repair is a good idea. Consider this ext2 example: xattr support
> is a compat flag. It's okay to rw mount a FS with xattrs on some
> ancient (or non-Linux) kernel without xattr support — everything will
> be fine, even though there's no way to access them — but if the fsck
> tool doesn't understand them, it wouldn't be able to diagnose xattr
> corruption.
Hm, good point. We have no "compat" features atm, so it's not really clear;
if nothing else, though, those features will have to go un-checked, if there
is any checking to do. So yeah, maybe best to keep it as an exclusion.
-Eric
More information about the xfs
mailing list