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}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).