Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MWn9O-0005qj-T8 for mharc-grub-devel@gnu.org; Fri, 31 Jul 2009 04:07:38 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWn9N-0005qR-NB for grub-devel@gnu.org; Fri, 31 Jul 2009 04:07:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWn9I-0005pj-UT for grub-devel@gnu.org; Fri, 31 Jul 2009 04:07:37 -0400 Received: from [199.232.76.173] (port=40293 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWn9I-0005pd-Ok for grub-devel@gnu.org; Fri, 31 Jul 2009 04:07:32 -0400 Received: from mx20.gnu.org ([199.232.41.8]:33285) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MWn9I-0005QR-80 for grub-devel@gnu.org; Fri, 31 Jul 2009 04:07:32 -0400 Received: from smtp-vbr3.xs4all.nl ([194.109.24.23]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MWn9H-0003e2-F9 for grub-devel@gnu.org; Fri, 31 Jul 2009 04:07:31 -0400 Received: from marco (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr3.xs4all.nl (8.13.8/8.13.8) with ESMTP id n6V87Thl031094 for ; Fri, 31 Jul 2009 10:07:30 +0200 (CEST) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: <1245631353.9864.7.camel@mj> <20090622094429.GB8969@thorin> <20090622105959.GI8969@thorin> Mail-Copies-To: mgerards@xs4all.nl Date: Fri, 31 Jul 2009 10:07:29 +0200 In-Reply-To: (bean123ch@gmail.com's message of "Tue, 23 Jun 2009 01:37:02 +0800") Message-ID: <871vnxwa0u.fsf@xs4all.nl> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner X-Detected-Operating-System: by mx20.gnu.org: FreeBSD 4.6-4.9 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: [PATCH] File access library for lua 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, 31 Jul 2009 08:07:38 -0000 Bean writes: > Hi, > > Update for this patch: > > 1, enum_device now pass fs and uuid as well > 2, enum_file change parameter order, now the callback function is the > first, path is the second > 3, add parameter checking for library function > 4, add three function > > file_eof - test if eof is encounter for a file > file_exist - test if a file exists > add_menu - add menu item > > I also add a script osdetect.lua which can detect Windows > 2K/NT/XP/Vista and linux at runtime, to use it, add this in grub.cfg: > > source osdetect.lua Can you please comment on what Robert said? Personally, I do not mind supporting lua. But I prefer that scripts included with GRUB are written using the default scripting language. Some good reasons for this: - I do not know lua, I assume Okuji doesn't either. - Only using one script already requires the user to use lua: slowdown - Personally, I hope people improve on the default scripting language -- Marco