I just posted a hack that should stop this from happenning how does it look? (I haven't tested it.).
On Fri, 13 Dec 2002, Maxim Sobolev wrote: > I've also bumped into this problem, when after upgrading memory I > didn't increase swap size, so that after a panic the system > overwrote disklabel. Fortunately, my root partition was placed > after swap, not before it, so that recreating disklaber revived > the system. > > -Maxim > > On Fri, Dec 13, 2002 at 12:52:52PM -0800, Julian Elischer wrote: > > > > > > On Fri, 13 Dec 2002, Dan Nelson wrote: > > > > > In the last episode (Dec 13), Julian Elischer said: > > > > It's always been there. the question is > > > > "Who has broken it?" > > > > I think this is a 5.0 showstopper. Having 5.0 overwrite your > > Windows partition would be "poor" PR. > > Having a quick look at it, it shouldn't be too hard for PHK > > to fix it as he has all the correct parts currently "loaded" > > into his head. Especially such things as making GEOM not allow writes > > to -ve blocknumbers (as must have happenned for root to have been > > overwritten). > > > > > > > > I think it has just slowly bitrotted. I opened a PR on this in > > > November. > > > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/45777 > > > > > > -- > > > Dan Nelson > > > [EMAIL PROTECTED] > > > > > > > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message