wipefs
Wipe filesystem, raid, or partition-table signatures from a device. tldr-pages
On Linux
Linux
Display signatures for specified device
sudo wipefs /dev/sdXIdentifyWipe all available signature types for a specific device with no recursion into partitions
sudo wipefs --all /dev/sdXIdentifyWipe all available signature types for the device and partitions using a glob pattern
sudo wipefs --all /dev/sdX*IdentifySimulate wiping all signature types from a device without actually modifying it
sudo wipefs --all --no-act /dev/sdXIdentifyForce wipe, even if the filesystem is mounted
sudo wipefs --all --force /dev/sdXIdentify