Erik> Here's the patch against the fdisklabel.h found in util-linux
Erik> 2.5 to let it edit label's w/ minlabel compatibility. I had to
Erik> change:
Great news! I was always hoping for such a utility---didn't know
util-linux makes this wish come true...
Erik> 2) There were lots of u_long which should be u_int on 64 bit
Erik> machines a u_32 would be better if there is such a beast
__u32 should do what you want (as long as you're on Linux... :).
Erik> 3) I changed label type 8 to ext2 from MSDOS
Oops, I think I picked 8 in the aboot sources just because it was
unique relative to the filesystem numbers that I knew of. If BSD4.4
(or whatever) uses it for MSDOS, we better pick something else. It
will break current partition tables, but I think it's better now than
later. Anybody knows how to register a filesystem number officially?
--david