scripts: dbglfs.py: Added --ckmeta/--ckdata
For more aggressive checking of filesystem state. These should match the behavior of LFS_M_CKMETA/CKDATA in lfs.c. Also tweaked dbgbmapd3.py (and eventually dbgmap.py) to match, though we don't need new flags there since we're already checking every block in the filesystem.
This commit is contained in:
+5
-1
@@ -1447,7 +1447,11 @@ class Mdir:
|
||||
return self.rbyd.gcksumdelta
|
||||
|
||||
def addr(self):
|
||||
return self.rbyd.addr()
|
||||
if len(self.blocks) == 1:
|
||||
return '0x%x' % self.block
|
||||
else:
|
||||
return '0x{%s}' % (
|
||||
','.join('%x' % block for block in self.blocks))
|
||||
|
||||
def __repr__(self):
|
||||
return '<%s %s>' % (self.__class__.__name__, self.repr())
|
||||
|
||||
Reference in New Issue
Block a user