From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1FadYS-0003ZN-51 for mharc-grub-devel@gnu.org; Mon, 01 May 2006 14:55:32 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FadYQ-0003ZI-AA for grub-devel@gnu.org; Mon, 01 May 2006 14:55:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FadYO-0003Z5-JC for grub-devel@gnu.org; Mon, 01 May 2006 14:55:29 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FadYO-0003Z2-HR for grub-devel@gnu.org; Mon, 01 May 2006 14:55:28 -0400 Received: from [194.109.24.26] (helo=smtp-vbr6.xs4all.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FadcG-0001Br-6A for grub-devel@gnu.org; Mon, 01 May 2006 14:59:28 -0400 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr6.xs4all.nl (8.13.6/8.13.6) with ESMTP id k41ItQ7p021320 for ; Mon, 1 May 2006 20:55:27 +0200 (CEST) (envelope-from mgerards@xs4all.nl) Mail-Copies-To: mgerards@xs4all.nl To: The development of GRUB 2 References: <200604251605.k3PG58Ax008963@dell01.dinaserver.com> <4451FFBA.2050203@raulete.net> From: Marco Gerards Date: Mon, 01 May 2006 20:57:21 +0200 In-Reply-To: <4451FFBA.2050203@raulete.net> (adrian15@raulete.net's message of "Fri, 28 Apr 2006 13:42:50 +0200") Message-ID: <8764kpmv3i.fsf@xs4all.nl> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: SOC - SGD based on grub2 - Menu and scripting status 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: Mon, 01 May 2006 18:55:31 -0000 adrian15 writes: >>>5) I need to define "something" (In my grub legacy fork is a menu.lst) >>>that lets me choose the harddisk-partition which I want to work >>>on. Can I make it easily? >> You mean as a variable? That's possible. > > I will explain this point in more detail if you don't mind. Here goes > copy-pasted > 1) the first the "lst" for hard disks and then > 2)the second one the "sh" that makes the "lst" for partitions. > 3) An "lst" for making easier to call the selection of partitions from > inside a function or whatever. > 4) An example of how this menues/selectors are called. (lst) > > I'm not asking you to develop a command for giving me this lst on the > fly adapted to the user pc. You know what I was telling before: If the > users hard disk has only three partitions make an array with only > three values which are the partitions. > > I'm asking you to think about new features that scripting should have > so that the developing of this command is far easy. I was thinking about an iterator function. Perhaps that might be the easiest to use... Please watch CVS closely. I am actively working on scripting, as much as time permits. -- Marco