[Top][All Lists]

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

Re: [PATCH] Backup old boot sectors before installation

From: address@hidden
Subject: Re: [PATCH] Backup old boot sectors before installation
Date: Thu, 7 Jan 2010 20:15:50 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Tue, Dec 29, 2009 at 03:21:08PM +0800, Zhu Yi wrote:
> On Tue, 2009-12-29 at 11:59 +0800, address@hidden wrote:
> > > If we decide so, we go back to option 1 (my original
> > implementation).
> > > Because the backup file format is not important any more as it is
> > > totally transparent to the restorers. Am I right?
> > 
> > Another option would be to start the backup file with "#!/bin/sh" ... 
> Create this shell script in grub-setup.c? I don't see how this is less
> invasive than changing grub-install script. But if everyone agree to add
> the sharutils package dependency (for uuencode/uudecode), I can
> implement this in V2.

Erm, no, please don't do such a thing.  C code is fine :-)

Robert Millan

  "Be the change you want to see in the world" -- Gandhi

reply via email to

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