From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MfFYc-0002Fn-8I for mharc-grub-devel@gnu.org; Sun, 23 Aug 2009 12:04:38 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MfFYa-0002ER-D2 for grub-devel@gnu.org; Sun, 23 Aug 2009 12:04:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MfFYV-0002BJ-Oy for grub-devel@gnu.org; Sun, 23 Aug 2009 12:04:36 -0400 Received: from [199.232.76.173] (port=40935 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfFYV-0002B8-KA for grub-devel@gnu.org; Sun, 23 Aug 2009 12:04:31 -0400 Received: from mail-ew0-f211.google.com ([209.85.219.211]:33060) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MfFYV-0005YT-3U for grub-devel@gnu.org; Sun, 23 Aug 2009 12:04:31 -0400 Received: by mail-ew0-f211.google.com with SMTP id 7so1811003ewy.31 for ; Sun, 23 Aug 2009 09:04:30 -0700 (PDT) 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=Z+nSpfnhtNE/jln1ZR/YH4OjrRiC/bIdyQGjg2S99Kg=; b=FRyDD/7WdCGtg43943u4t308aQXxdjYTlIzQOmZlv7zGbsUL1fkfGWWa/nawYba6yQ MTX9yVKtSs1n5wclJY5SHCsdmX96y24Su3Qpkm8/5xWNfqNhQaahn/CbvSwXLMDCeBhs QVgDGot/VIQZjM+a2vo1E4zjMvd2UTQ92mFMg= 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=o/D4gHhNce0Cu2ZcUA+bcgzia0mJ0Kb35sV77RWQz++5/iCN3rZMmShAjyYbEDlj+A JldE4wPn3oel48sIui3vq1+3Xo8Bs6ex20Dgh6ngEH4IUbl/EGCGMcAE77bpkVKVgiH3 0VkFOjM1mRkmocVYr90rgS+6tTrE1HZKQziZk= Received: by 10.211.178.12 with SMTP id f12mr1501718ebp.29.1251043470469; Sun, 23 Aug 2009 09:04:30 -0700 (PDT) Received: from ?213.99.219.2? ([213.99.219.2]) by mx.google.com with ESMTPS id 28sm2073597eye.25.2009.08.23.09.04.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 23 Aug 2009 09:04:29 -0700 (PDT) Message-ID: <4A915F52.9020300@gmail.com> Date: Sun, 23 Aug 2009 17:25:06 +0200 From: adrian15 User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: The development of GRUB 2 References: <4A903FB3.5070302@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Grub2 LUA API? 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: Sun, 23 Aug 2009 16:04:36 -0000 Bean escribió: > Hi, > > You can use grub.enum_device, which pass the uuid to the callback > function, then you can store the device->uuid mapping in a table. Thank you. I will check your advice. > > If you're looking for source code, check out script/lua/grub_lib.c I would have prefered documentation but source code is ok. I will, of course, report back with more improvements/doubts on this subject. Thank you again. adrian15 -- Support free software. Donate to Super Grub Disk. Apoya el software libre. Dona a Super Grub Disk. http://www.supergrubdisk.org/index.php?pid=10