That _was_ strace with -ff. I'll see if I can find the mystery process. It did not show up in a pstree that I triggered while it was updating books, but it might be a shortlived process and I tried to nab it at the wrong time.
Apparently ZIP allows direct file access so if the metadata is the last file in the ZIP (which is the case for toc in Calibre generated EPUBs) it does not have to extract all files that come before it. Whether the system actually uses that kind of optimization, or parses all HTML as well, I don't know.
As for making it a background process it should be possible because other things already happen in the background (if you sync you get a thin 5 pixel progress bar at the top of the screen).
|