Skip to content

shred: document simplified (better?) number of random passes #7847

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

BenWiederhake
Copy link
Collaborator

See also #7823.

In short: Our method of computing the number of passes is simpler and presumably matches user expectations more closely. See the diff for a longer explanation.

Closes #7823.

Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/misc/stdbuf (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/misc/tee (passes in this run but fails in the 'main' branch)

@cakebaker cakebaker merged commit ed3da5f into uutils:main Apr 26, 2025
70 checks passed
@cakebaker
Copy link
Contributor

Good explanation, thanks!

@BenWiederhake BenWiederhake deleted the dev-shred-deterministic-random-passes-extension branch April 26, 2025 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

shred: number of random passes is wrong
2 participants