From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Mh0vV-0002xR-TQ for mharc-grub-devel@gnu.org; Fri, 28 Aug 2009 08:51:33 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mh0vT-0002wg-9p for grub-devel@gnu.org; Fri, 28 Aug 2009 08:51:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mh0vN-0002uI-Hu for grub-devel@gnu.org; Fri, 28 Aug 2009 08:51:30 -0400 Received: from [199.232.76.173] (port=42539 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mh0vL-0002tw-1r for grub-devel@gnu.org; Fri, 28 Aug 2009 08:51:24 -0400 Received: from xvm-190-8.ghst.net ([217.70.190.8]:57772 helo=aybabtu.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mh0vK-00081A-Hq for grub-devel@gnu.org; Fri, 28 Aug 2009 08:51:22 -0400 Received: from [192.168.10.10] (helo=localhost) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1Mh0vF-0002V6-AK for grub-devel@gnu.org; Fri, 28 Aug 2009 14:51:17 +0200 Received: from rmh by localhost with local (Exim 4.69) (envelope-from ) id 1Mh0vE-0003ws-QI for grub-devel@gnu.org; Fri, 28 Aug 2009 14:51:16 +0200 Date: Fri, 28 Aug 2009 14:51:16 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090828125116.GE15030@thorin> References: <20090801150529.GD23133@thorin> <20090802213836.GD15139@thorin> <20090802224120.GJ15139@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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: GNU/Linux 2.6 (newer, 3) Subject: Re: [RFC] Don't pass filename in multiboot command line 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: Fri, 28 Aug 2009 12:51:31 -0000 On Thu, Aug 27, 2009 at 12:55:21PM +0200, Michal Suchanek wrote: > 2009/8/27 Seth Goldberg : > > Hi, > > > >  Any chance of having a 'multiboot1' module that can continue to pass the > > multiboot filename as arg0 ? > > > > >From the previous discussion of this feature I guess you can pass it > as the first argument manually. Yes. We did this precisely so you could continue to rely on the first argument being the kernel filename, and at the same time we wouldn't have to make this a requirement for everyone else. Btw, I recommend that you use grub-mkconfig to handle such things. There's no snippet for Solaris yet, but they're easy to write (check util/grub.d/). In your shell script it's painless to pass the same argument twice to multiboot command. -- 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."