From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NSxpw-0007oG-TJ for mharc-grub-devel@gnu.org; Thu, 07 Jan 2010 14:16:00 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSxpv-0007nB-TX for grub-devel@gnu.org; Thu, 07 Jan 2010 14:16:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSxpq-0007gR-Uy for grub-devel@gnu.org; Thu, 07 Jan 2010 14:15:59 -0500 Received: from [199.232.76.173] (port=53234 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSxpq-0007gD-Od for grub-devel@gnu.org; Thu, 07 Jan 2010 14:15:54 -0500 Received: from mx20.gnu.org ([199.232.41.8]:21012) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NSxpq-0006oz-Ch for grub-devel@gnu.org; Thu, 07 Jan 2010 14:15:54 -0500 Received: from xvm-190-8.ghst.net ([217.70.190.8] helo=aybabtu.com) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NSxpo-0000UJ-Cg for grub-devel@gnu.org; Thu, 07 Jan 2010 14:15:52 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1NSxpn-00011L-14; Thu, 07 Jan 2010 20:15:51 +0100 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1NSxpm-0003Kk-Gh; Thu, 07 Jan 2010 20:15:50 +0100 Date: Thu, 7 Jan 2010 20:15:50 +0100 From: "rmh@aybabtu.com" To: The development of GNU GRUB Message-ID: <20100107191550.GI12029@thorin> References: <1260523561-19086-1-git-send-email-yi.zhu@intel.com> <20091224212119.GI12122@thorin> <1261983314.6037.84.camel@debian> <4B392B6E.2060807@isaac.cedarswampstudios.org> <1262056863.6037.106.camel@debian> <2e59e6970912281959q38ea1876qedad4acd85ce3984@mail.gmail.com> <1262071268.6037.111.camel@debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1262071268.6037.111.camel@debian> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: "ml@isaac.cedarswampstudios.org" Subject: Re: [PATCH] Backup old boot sectors before installation X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2010 19:16:00 -0000 On Tue, Dec 29, 2009 at 03:21:08PM +0800, Zhu Yi wrote: > On Tue, 2009-12-29 at 11:59 +0800, richardvoigt@gmail.com 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