Skip to content
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

Better explanation of meaning corrupted and changed #210

Open
axet opened this issue Aug 4, 2023 · 1 comment
Open

Better explanation of meaning corrupted and changed #210

axet opened this issue Aug 4, 2023 · 1 comment

Comments

@axet
Copy link

axet commented Aug 4, 2023

Can man page explain better (in technical terms) what corrupted and changed means?

I found some explanation on stackexchange:

But I feel it is lacking core part about how f3write works and it should explain algorithm how it writes the data.

I can understand when CPU send wrong data, or when data stored incorrectly. Would be nice instead "Slightly changed" it could use common term like CRC error. Or corrupted like BUS transfer error (or END to END error like in SMART terminology)

EDIT: I had to check source code and find out this is all nonsense. Here is no END to END error checks. No way this is should be in the code. Basically here is no difference between changed / corrupted. Simple CRC errors:

		else if (error_count <= TOLERANCE)
			stats->secs_changed++;
		else
			stats->secs_corrupted++;
@AltraMayor
Copy link
Owner

Stephen Kitt's answer on StackExchange is perfect.

I'm adding the label "Help Wanted" to see if someone step up to write a pull request to improve the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants