Temporary hack until we can get rid of the disklabel dependancies.
commit88f61e6c90402ff286bc5727f6763e9f9af2caba
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 19 May 2007 06:39:39 +0000 (19 06:39 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 19 May 2007 06:39:39 +0000 (19 06:39 +0000)
treec4b7abcf4aee75b5fbed2ec2235a083abac36664
parent9dc174f4b223a47b00004d3b3ee30ae66f133763
Temporary hack until we can get rid of the disklabel dependancies.
DIOCGDINFO and DIOCWDINFO can only operate on the slice, not on the
partition.  Figure out the name of the slice and temporarily open a
descriptor to read and update the label.
sbin/newfs/newfs.c