Subject: mbrlabel fixes
To: None <email@example.com>
From: Luke Mewburn <firstname.lastname@example.org>
Date: 12/25/2000 01:06:37
I've fixed mbrlabel to be a lot saner about updating the disk label.
Previously it would trash the existing in-core disklabel with one
generated from the MBR (Master Boot Record) of the disk. This could be
suboptimal in many situations.
Now it won't actually update the disk label (in-core or on-disk)
unless `-f' is given.
It's also a *lot* smarter about how it works; existing entries in the
NetBSD disk label will remain untouched, and mbrlabel will only add
entries to the disklabel for MBR partitions which don't have the same
size and offset as an existing partition slot in the disk label.
I've tested it fairly well, but there *may* be a couple of hiccups I
missed (I don't have very complicated MBR setups; usually one or two
MS-DOS/NTFS partitions (one possibly in an extended partition),
and a NetBSD partition). Please report any bugs with send-pr.
Luke Mewburn <email@example.com> http://www.wasabisystems.com
Luke Mewburn <firstname.lastname@example.org> http://www.netbsd.org
Wasabi Systems - providing NetBSD sales, support and service.