wipefs
Wipe filesystem, raid, or partition-table signatures from a device. More information: https://manned.org/wipefs.
- 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}}
This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.