[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: FUSE binding for Lua
- From: lua@...
- Date: Fri, 1 Dec 2006 22:35:43 +0100
Hello,
I've made a quick binding for Lua for FUSE. FUSE is a linux library for
creating filesystems in userspace. See http://fuse.sourceforge.net/ for
more info.
The example lua script exports _G to a read-only filesystem :
$ ls
_G/ gcinfo math/ printf setmetatable
_VERSION getattr module rawequal string/
arg/ getfenv newproxy rawget table/
assert getmetatable next rawset tonumber
collectgarbage io/ os/ read tostring
coroutine/ ipairs package/ readdir type
debug/ load pairs require unpack
dofile loadfile path_to_obj select xpcall
error loadstring pcall services
fuse_functions/ luafuse/ print setfenv
$ cat _VERSION
Lua 5.1
$ ls package/
config cpath loaded/ loaders/ loadlib path preload/ seeall
The package can be downloaded at http://zevv.nl/div/luafuse.tgz
--
:wq
^X^Cy^K^X^C^C^C^C