WIPEFS(8) wipefs - wipefs [] ... wipefs [--backup] -o ... wipefs [--backup] -a ... wipefs , - ( ) ,,libblkid". wipefs . , wipefs . . , . --output - . wipefs BLKRRPART ,,ioctl" . ,,ioctl" . , wipefs -a /dev/sdc1 /dev/sdc2 /dev/sdc. (., FAT, ZFS, GPT). wipefs ( 2.31) . -a, libblkid-(3) . wipefs () . wipefs - . --force . -a, --all . -t. -b, --backup[=dir] wipefs-<->-<>.bak $HOME . . -f, --force , . . -J, --json . --lock[=mode] . yes (), no () ( 1 0) nonblock (_). , "yes" (). $LOCK_BLOCK_DEVICE. , ,,udevd"- . -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 (,,iB" , ., ,,K" ,,KiB") KB=1000, MB=1000*1000, GB, TB, PB, EB, ZB YB. -p, --parsable . ,,\x". -q, --quiet . -t, --types . . ,,no" . mount(8). -h, --help . -V, --version Display version and exit. LIBBLKID_DEBUG= libblkid (3) . LOCK_BLOCK_DEVICE=<> . 1 0. --lock . 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) For bug reports, use the issue tracker . wipefs ,,util-linux" . util-linux 2.41 2025-03-29 WIPEFS(8)