WIPEFS(8) WIPEFS(8) wipefs - wipefs [] ... wipefs [--backup] -o ... wipefs [--backup] -a ... wipefs , raid ( ) , libblkid. wipefs - . - , wipefs . . , , . --output - , . wipefs - BLKRRPART , . - (ioctl) , . , , , wipefs -a /dev/sdc1 /dev/sdc2 /dev/sdc. , (, FAT, ZFS, GPT) . wipefs ( 2.31) , . -a, , libblkid(3), . wipefs (), . , wipefs , . --force. -a, --all Erase all available signatures. The set of erased signatures can be restricted with the -t option. When performed on a partitioned whole-disk device like /dev/sdX, it will erase only the partition tables, not the content of the partitions. -b, --backup[=] wipefs--.bak $HOME , . . -f, --force Force erasure, even if the filesystem is mounted. This is also required in order to erase a nested partition-table signature on a non-whole disk device. -J, --json B JSON. --lock[=] Use an exclusive BSD lock for the device or file that is operated upon. The optional argument mode can be yes (1), no (0), or nonblock. If the mode argument is omitted, it defaults to yes. This option overrides the environment variable $LOCK_BLOCK_DEVICE. The default is to not use any lock at all, but using a lock is recommended to avoid collisions with systemd-udevd(8) or other tools. -i, --noheadings . -O, --output , . --help, . -n, --no-act , write(2). -o, --offset ( ) , . <<0x>>. , . -o . KiB (=1024), MiB (=1024*1024) GiB, TiB, PiB, EiB, ZiB YiB ( <> ', , <> , <>) KB (=1000), MB (=1000*1000) GB, TB, PB, EB, ZB YB. -p, --parsable . <<\x>>. -q, --quiet . -t, --types . . <>, , . , . mount(8). -h, --help . -V, --version . LIBBLKID_DEBUG=all libblkid(3). LOCK_BLOCK_DEVICE=<> BSD. <<1>> <<0>>. . --lock, . LIBSMARTCOLS_DEBUG=all libsmartcols. LIBSMARTCOLS_DEBUG_PADDING=on . wipefs /dev/sda* sda sda. wipefs --all --backup /dev/sdb /dev/sdb ~/wipefs-sdb-<>.bak . dd if=~/wipefs-sdb-0x00000438.bak of=/dev/sdb seek=$((0x00000438)) bs=1 conv=notrunc ext2 ~/wipefs-sdb-0x00000438.bak. Karel Zak blkid(8), findfs(8) wipefs util-linux, Linux . util-linux 2.42.3 2026-09-02 WIPEFS(8)