The man page is not too clear on this and I noticed that it's not possible to pass both flags at once.
Does interrupting fsck --more
lose the progress made since the initial incremental fsck?
The man page is not too clear on this and I noticed that it's not possible to pass both flags at once.
Does interrupting fsck --more
lose the progress made since the initial incremental fsck?
No, interrupting will never lose previous incremental progress. In fact, if you interrupt
--more
and run the same command again, it will skip all files that were recorded as checked already by the first--more
.I suspect you were reading a previous version of the man page, which discussed being interrupted under
--incremental
. That wording was recently adjusted.Please tell me if I'm getting this right:
--incremental
starts a new incremental fsck, regardless of whether there was a previously interrupted fsck or not--more
also starts a new incremental fsck but only if there wasn't a previously interrupted incremental fsck in which case it resumes that to the endSo if I do
git-annex fsck --more
on a repo without previously interrupted incremental fsck, it is effectively the same as--incremental
?