Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UBIFS journal not replayed #44

Open
richardweinberger opened this issue Sep 1, 2020 · 1 comment
Open

UBIFS journal not replayed #44

richardweinberger opened this issue Sep 1, 2020 · 1 comment

Comments

@richardweinberger
Copy link

On UBIFS replaying the journal is mandatory. If you don't do so the index tree can point to wrong (outdated or dead) leaf nodes.
You can do it like u-boot and replay into memory (e.g. just into TNC).
Please note that even a clean unmount of UBIFS does not lead to an empty journal.
That's why replaying is mandatory.

@jrspruitt
Copy link
Contributor

Hi Richard Weinberger,

Thanks for letting me know, I was aware of unclean shutdowns causing issue, but not aware clean one's could cause issue to. There seems to be a lot of people using this with NAND dumps, instead of just downloaded firmware images, so this should be a priority.

-Jason

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants