grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] File access library for lua


From: Bean
Subject: Re: [PATCH] File access library for lua
Date: Tue, 23 Jun 2009 01:37:02 +0800

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

-- 
Bean

Attachment: lua_file_2.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]