Ken - I am trying to find my way around the codebase, but without inside knowledge it’s difficult. Would it be possible to provide me with the following information:
- Where exactly in the Sqlite DB (which table, field) can I record the current USN?
- How is the DB accessed in the code?
- At which point should I grab the previous USN from the DB; and at which point is it safe to commit it to the DB.
- I storing in the DLIST really required? I would assume that if the DB is corrupted, we can just enumerate all files as if there wasn’t a previous USN.