From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ley6p-000131-7h for mharc-grub-devel@gnu.org; Wed, 04 Mar 2009 15:54:31 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ley6o-00012H-4c for grub-devel@gnu.org; Wed, 04 Mar 2009 15:54:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ley6m-000113-E9 for grub-devel@gnu.org; Wed, 04 Mar 2009 15:54:29 -0500 Received: from [199.232.76.173] (port=41973 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ley6m-00010p-7J for grub-devel@gnu.org; Wed, 04 Mar 2009 15:54:28 -0500 Received: from aybabtu.com ([69.60.117.155]:59941) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ley6l-00040p-Rj for grub-devel@gnu.org; Wed, 04 Mar 2009 15:54:28 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1Lexz5-00029E-Ug for grub-devel@gnu.org; Wed, 04 Mar 2009 21:46:32 +0100 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1Ley6e-00087R-O5 for grub-devel@gnu.org; Wed, 04 Mar 2009 21:54:20 +0100 Date: Wed, 4 Mar 2009 21:54:20 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090304205420.GA31201@thorin> References: <4992D603.9030105@gmail.com> <1234369601.25774.5.camel@mj> <499318E3.5040801@gmail.com> <49AAFC17.7040608@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] make partition active X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Mar 2009 20:54:30 -0000 On Mon, Mar 02, 2009 at 11:52:13AM +0800, Bean wrote: > > Then we could use parttool syntax. Then parttype can be implemented like > > grub> parttool hd0,1 type=7 > > makeactive like: > > grub> parttool hd0,1 boot+ > > And it can even be done by one command > > grub> parttool hd0,1 boot+ type=7 > > > > Thank you for your attention to my patches > > Hi, > > In that case, you might want to use options, which save you the > trouble of parsing parameters yourself, for example: > > parttool [--boot] [--type N] partition Why don't we make the syntax compatible with Parted? It supports non-interactive mode, and is also a GNU project. Some consistency between it and GRUB would be nice IMO. (besides, there's also that project to integrate Parted with GRUB directly, it used to be in gsoc) -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."