tldr/pages/linux/wipefs.md

21 lines
445 B
Markdown
Raw Permalink Normal View History

2020-06-18 12:58:03 +01:00
# wipefs
> Wipe filesystem, raid, or partition-table signatures from a device.
> More information: <https://manned.org/wipefs>.
2020-06-18 12:58:03 +01:00
- Display signatures for specified device:
`sudo wipefs {{/dev/sdX}}`
2020-06-18 12:58:03 +01:00
- Wipe all available signatures for specified device:
`sudo wipefs --all {{/dev/sdX}}`
2020-06-18 12:58:03 +01:00
- Perform dry run:
`sudo wipefs --all --no-act {{/dev/sdX}}`
2020-06-18 12:58:03 +01:00
- Force wipe, even if the filesystem is mounted:
`sudo wipefs --all --force {{/dev/sdX}}`