Wipe signature from a device
wipefs can erase filesystem, raid or partition-table signatures (magic strings) from the specified device to make the signatures invisible for libblkid.
-a, –all
Erase all available signatures. The set of erased signatures can be restricted with the -t list option.
-f, –force
Force erasure, even if the filesystem is mounted. This is required in order to erase the partition table on a block device.
1 | $ wipefs -a /dev/nvme0n1 |