bug-parted
[Top][All Lists]
Advanced

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

Re: parted 'fixlabel' command?


From: Andrew Clausen
Subject: Re: parted 'fixlabel' command?
Date: Fri, 12 Dec 2003 07:25:11 +1100
User-agent: Mutt/1.5.4i

On Thu, Dec 11, 2003 at 01:55:21PM -0600, Matt Domsch wrote:
> In dealing with GPT disks, it has been suggested that one drawback is
> that you cannot simply 'dd' from a disk of size X onto a disk of size
> X+N because the Alternate GPT is stored "at the end of the disk".

Yep, that discussion was cc'd here :)

> This is true, but I think parted can fix this up if you use it to write to the
> disk after you dd; set then clear a flag, write a text string label
> into it, etc.  The AGPT should get rewritten properly, albeit after
> some warnings.
> 
> What would you think about a 'fixlabel' or 'growlabel' command,
> something like that, which explicitly could handle the fact that the
> disk changed, but the partition locations shouldn't?

"print" and "check" already have these semantics.  (Right?)

Cheers,
Andrew





reply via email to

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