From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LemY1-0007CA-Qn for mharc-grub-devel@gnu.org; Wed, 04 Mar 2009 03:33:49 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LemY0-0007BV-On for grub-devel@gnu.org; Wed, 04 Mar 2009 03:33:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LemXz-0007AI-7c for grub-devel@gnu.org; Wed, 04 Mar 2009 03:33:48 -0500 Received: from [199.232.76.173] (port=47093 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LemXy-0007AF-VQ for grub-devel@gnu.org; Wed, 04 Mar 2009 03:33:47 -0500 Received: from mx20.gnu.org ([199.232.41.8]:7028) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LemXy-0008N1-4S for grub-devel@gnu.org; Wed, 04 Mar 2009 03:33:46 -0500 Received: from mail-fx0-f172.google.com ([209.85.220.172]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LemXx-0003Uk-CK for grub-devel@gnu.org; Wed, 04 Mar 2009 03:33:45 -0500 Received: by fxm20 with SMTP id 20so2763378fxm.42 for ; Wed, 04 Mar 2009 00:33:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=yK2G2PxGSF5Kk2kdFypYNVvSYOibMYS2QJSbpcGLQDE=; b=Gp3+ZEjNg6l8X0pyPcITG50h5u0rNHebHFc2gnhzM6sl6scVY3GVMpxj6qQPA7KRhc yDdrv0QMuWFTZHBGhVhfgyOSWEIa0MyrhuKKt+Wns1nYhdmeSnJ6NxDpE4dcPzdAKZiq 4onmERxjVqnMRah5MSQcuxNZgffdTGr1mXzys= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=xjLJHyJ6tAgvCSuxqqFBRiEXg/vtWoi3tqTVbNjikYAyTqozU5y7cbhILV8UdLLvnB QYjwAwWGwPLWlMU4GOophTYVu1cv1x47lSDLWAz/zMBkfsGIElrfWVXH35U6Q0KAjJyP iwonEIXjhmK8adMdtsbTdtVOHRCdIhjCRvVUE= Received: by 10.223.120.197 with SMTP id e5mr6776170far.25.1236155622723; Wed, 04 Mar 2009 00:33:42 -0800 (PST) Received: from ?129.132.210.180? (vpn-global-dhcp3-180.ethz.ch [129.132.210.180]) by mx.google.com with ESMTPS id b17sm14050208fka.24.2009.03.04.00.33.42 (version=SSLv3 cipher=RC4-MD5); Wed, 04 Mar 2009 00:33:42 -0800 (PST) Message-ID: <49AE3CE6.90509@gmail.com> Date: Wed, 04 Mar 2009 09:33:42 +0100 From: phcoder User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: The development of GRUB 2 References: <49AD5B12.8090904@gmail.com> <49ADFA79.8020105@lacqui.com> In-Reply-To: <49ADFA79.8020105@lacqui.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: multiboot2 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 08:33:49 -0000 In 4 and 7 I meant parameters passed from the bootloader to the OS. > With that, you also don't need to worry about "higher numbers are newer > version", as we can determine our own versioning, and load appropriate > features. With that we can avoid alternative bootloaders with version passing like 13b5.1.1rc2 Which would be an unnecessary hassle for the OS to parse. > > I'm not really understanding what you're saying here. Are you proposing > that the OS lets us know what command-line options it allows, for use in > tab completion? Or that they're listing the default command line (for > editing perhaps?) Or am I thinking in the wrong direction here? Yes you're. I mean command line parameters. E.g. if you launch the kernel like multiboot /mykernel root=myroot debug=ttyS0 Then kernel should be able to know what's passed after the kernel name I propose it to be exported as a tag 0x0005 and contents "root=myroot debug=ttyS0" as a NUL-terminated UTF-8 string -- Regards Vladimir 'phcoder' Serbinenko