bsdlabel, a program for manipulating BSD disklabels directly (ie, with read and write rather than disk-label ioctl).