[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Patch] Do not embed with multiple partmaps

From: Grégoire Sutre
Subject: [Patch] Do not embed with multiple partmaps
Date: Fri, 18 Jun 2010 01:07:53 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100515 Icedove/3.0.4


As a (temporary) solution to the problem of embedding with multiple
top-level partmaps, the attached patch simply disables embedding when
there are multiple partmaps (i.e. apply the same behavior as when there
is no partmap).

This prevents grub-setup from overwriting e.g. a BSD label if it finds
an msdos label first.

The only drawback I see is that grub-setup may complain about an old
obsolete disklabel, but in that case the user simply has to destroy the
obsolete label, and IMHO this is more acceptable than potentially
destroying valuable data.


Attachment: detect-multiple-partmaps.diff
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]