panasonic-rec icon indicating copy to clipboard operation
panasonic-rec copied to clipboard

extract_meihdfs: added recovery and resume mode

Open maazl opened this issue 6 months ago • 1 comments

I made some improvements to the MEIHDFS extractor.

  1. A data recovery mode (option -r1) witch will read physical sectors one by one and continue on read errors. This might be faster than creating a disk image since it avoids reading unallocated storage and it requires significantly less temporary storage. Last but not least errors can be associated with the damaged recordings using the stderr output.
  2. Automatically resume if an extraction was interrupted before for some reason. Completely dumped files are simply skipped.
  3. Do not write to stderr and stdout alternately. This causes changes in the output sequence and error messages might appear in the wrong context.
  4. Avoid compiler warnings due to incorrect printf format strings using C99 size specifiers, i.e z for size_t and j for off64_t.
  5. Remove plattform specific options in Makefile. They cause a build break on other platforms.

maazl avatar Aug 18 '24 12:08 maazl