1.2 KiB
1.2 KiB
description
| description |
|---|
| mtm-ddwipe project conventions |
Project conventions
- Use English.
- Use Bash for shell scripts.
- Keep
mtm-ddwipefocused on wiping block devices. - Keep
mtm-ddwipeinteractive by default. - Require explicit confirmation before destructive actions.
- Validate real block devices and refuse mounted or in-use targets.
- Show clear device details before confirmation.
- Keep destructive safeguards strict and explicit.
- Keep messages short and clear.
- Keep help concise, usage-first, and warning-focused.
- Preserve the fallback wipe flow: secure discard, zero discard, then
ddzero-fill. - Keep optional tools optional.
- Use extra wipe methods only if the command is present.
- Use
ddrescueordd_rescueonly afterddfails. - Keep
nvmeandhdparmoptional. - Use
nvmeandhdparmonly on matching device types. - Do not make new external tools required.
- Keep changes minimal and preserve intent.
- Keep this file aligned and concise.
- Prefer tabs for indentation.
- Prefer
${var}notation in Bash. - If non-interactive support is added, make it an opt-in safety flag.
Project identity
- Main script:
mtm-ddwipe - License: GNU GPL v3