mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-15 15:26:19 -04:00
Dump all inodes with DWARFS_DUMP_INODES
This commit is contained in:
parent
7e95647cfe
commit
6f9702c347
@ -228,7 +228,7 @@ class inode_ : public inode {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
os << "inode " << num() << " (" << any()->size() << "):\n";
|
os << "inode " << num() << " (" << any()->size() << " bytes):\n";
|
||||||
os << " files:\n";
|
os << " files:\n";
|
||||||
|
|
||||||
for (auto const& f : files_) {
|
for (auto const& f : files_) {
|
||||||
|
@ -658,6 +658,10 @@ void scanner_<LoggerPolicy>::scan(
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (getenv_is_enabled("DWARFS_DUMP_INODES")) {
|
||||||
|
im.dump(std::cout);
|
||||||
|
}
|
||||||
|
|
||||||
LOG_INFO << "building blocks...";
|
LOG_INFO << "building blocks...";
|
||||||
segmenter seg(LOG_GET_LOGGER, prog, cfg_, fsw);
|
segmenter seg(LOG_GET_LOGGER, prog, cfg_, fsw);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user