feat: add optional wipe tool fallbacks by device type
This commit is contained in:
@@ -14,6 +14,12 @@ description: mtm-ddwipe project conventions
|
||||
- Keep messages short and clear.
|
||||
- Keep help concise, usage-first, and warning-focused.
|
||||
- Preserve the fallback wipe flow: secure discard, zero discard, then `dd` zero-fill.
|
||||
- Keep optional tools optional.
|
||||
- Use extra wipe methods only if the command is present.
|
||||
- Use `ddrescue` or `dd_rescue` only after `dd` fails.
|
||||
- Keep `nvme-cli` and `hdparm` optional.
|
||||
- Use `nvme` and `hdparm` only on matching device types.
|
||||
- Do not make new external tools required.
|
||||
- Keep changes minimal and preserve intent.
|
||||
- Keep `./continue/rules/project.md` aligned and concise.
|
||||
- If non-interactive support is added, make it an opt-in safety flag.
|
||||
@@ -21,3 +27,4 @@ description: mtm-ddwipe project conventions
|
||||
# Project identity
|
||||
- Main script: `mtm-ddwipe`
|
||||
- License: GNU GPL v3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user