-
Notifications
You must be signed in to change notification settings - Fork 13
Modification log stores up to 9 records #37
base: master
Are you sure you want to change the base?
Conversation
I made 12 modifications to the disk in separate sessions to see what would happen to the modification log.
This parses the image I have with the large list of edits but leaves an xid value unaccounted for at the end.
The bit I can't quite account for is the way there is both a thing at the start which looks like an xid and a thing at the end which looks like an xid. I left it the way it previously way, taking the xid before the name of the modifying application, but maybe it's actually the other way around, and the 0x1 at the start is not an xid at all... |
In my tests, it appears that the 0x1 may likely be an 'initial_xid'. Putting an initial_xid field before 'formatted_by' and removing the 'unknown' one after 'modified_by' fixes this. Now you will see correct values in these structures. |
Got more insight into the 0x1 value. It is not an xid at all. Those 8 bytes store the encryption flags. |
As mentioned on the previous round of the PR.
I just did a manual merge so some manual verification that the overall result is still fine would probably be a good idea... |
Is this merge request still valid? Or outdated? |
Same as #34. Might still be valid, but would require some work and testing. |
I made 12 modifications to the disk in separate sessions to see what would happen to the modification log.
Turns out that the original record for formatting the image remains, but other modification entries get pushed off the bottom of the log such that the latest one is always first.