-
Notifications
You must be signed in to change notification settings - Fork 166
Convert photorec to use RawDiskPartition #619
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
Conversation
Pull from upstream
Pull from upstream
Pull from upstream
Pull from upstream
Merge from upstream
|
As you mentioned elsewhere, the previous changes are showing up here, so it's a bit hard to review. I'm guessing you created this branch from the previous feature branch and not directly from master? Maybe you could try syncing your master branch, then creating a new branch from there and then cherry-picking the actual new commits? Maybe github is calculating the diffs based on the commits rather than the actual code diff here, and since those commits were squashed when merged into upstream master, it still thinks they are "new"? |
|
Sorry about that, rebased the branch. Should be good now. |
| # Add the output path to the evidence so we can automatically save it | ||
| # later. | ||
| output_evidence.local_path = output_file_path | ||
| output_evidence.local_path = ''.join((output_file_path, '.1')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the .1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Photorec appends .1 to whatever output folder specified.
I guess this is to support multiple runs with an incrementing number on the output folder.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weird. Should we do a quick check to make sure this exists after the run then?
|
@aarontp I've moved the extraction of volume extents into the partition enumeration task and stored the values in the evidence item. I also changed the logic a little to support images that are taken at the volume level (i.e. no partition table). |
aarontp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few small comments.
| # Add the output path to the evidence so we can automatically save it | ||
| # later. | ||
| output_evidence.local_path = output_file_path | ||
| output_evidence.local_path = ''.join((output_file_path, '.1')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weird. Should we do a quick check to make sure this exists after the run then?
aarontp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple minor things.
|
Fixed |
aarontp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Issue #78