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.

$ wipefs -a /dev/nvme0n1
/dev/nvme0n1: 2 bytes were erased at offset 0x00000438 (ext4): 53 ef