Megvan a beépített proggy (ráleltem most), de sajna elhasal:
sfdisk -M1 /dev/sdt
Error: /dev/sdt: unrecognised disk label
Error: Input/output error during read on /dev/sdt
Error: Input/output error during read on /dev/sdt
Error: Input/output error during write on /dev/sdt
commit disk error
Ez most holtpont.
Usage: sfdisk options device
device: something like /dev/hda or /dev/sda
options:
?: print this message
M: zero partition table and set msdos or gpt partition table in the disk.
If disk size large than 2T, then gpt is adopted.
Otherwise, msdos is adopted.
Note, -M1 or -M0 is the same in this tools.
ex: sfdisk -M1 /dev/sda