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

Add support for wiping disks using hdparm #94

Merged
merged 2 commits into from
Jul 9, 2024

Conversation

mmlb
Copy link
Member

@mmlb mmlb commented Jul 9, 2024

This will use either ATA Sanitize or ATA Secure Erase to wipe the drive quickly and securely if supported by the drive.

This will use either ATA Sanitize or ATA Secure Erase to wipe the drive
quickly and securely if supported by the drive.
WipeDrive funcs now log at either .Debug or .Error levels but we want to
see the same messages so need to change the LogLevel to Debug. Need a
new logger instead of current logger so the change only applies to
WipeDrive.
@mmlb mmlb merged commit ab2a8fa into metal-toolbox:main Jul 9, 2024
2 checks passed
@mmlb mmlb deleted the wipe-using-hdparm branch July 9, 2024 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants