1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 18:22:08 +02:00
tldr/pages/linux/wipefs.md

19 lines
396 B
Markdown

# wipefs
> Wipe filesystem, raid, or partition-table signatures from a device.
- Display signatures for specified device:
`sudo wipefs {{/dev/sdX}}`
- Wipe all available signatures for specified device:
`sudo wipefs --all {{/dev/sdX}}`
- Perform dry run:
`sudo wipefs --all --no-act {{/dev/sdX}}`
- Force wipe, even if the filesystem is mounted:
`sudo wipefs --all --force {{/dev/sdX}}`