Compare commits
No commits in common. "c78bb7b32c69c32e8e2310f53e502382e64deea8" and "9dd5f5d4ad5c924dbcc617f5c2f93449436316a3" have entirely different histories.
c78bb7b32c
...
9dd5f5d4ad
@ -1,3 +1,2 @@
|
|||||||
getty.lua
|
getty.lua
|
||||||
fsmanager.lua
|
fsmanager.lua
|
||||||
minitel.lua
|
|
||||||
|
@ -19,10 +19,6 @@ function unionfs.create(...)
|
|||||||
end
|
end
|
||||||
return paths[1].."/"..path
|
return paths[1].."/"..path
|
||||||
end
|
end
|
||||||
|
|
||||||
function proxy.setLabel()
|
|
||||||
return false
|
|
||||||
end
|
|
||||||
|
|
||||||
function proxy.spaceUsed()
|
function proxy.spaceUsed()
|
||||||
return fs.spaceUsed(paths[1])
|
return fs.spaceUsed(paths[1])
|
||||||
@ -39,9 +35,6 @@ function unionfs.create(...)
|
|||||||
function proxy.lastModified(path)
|
function proxy.lastModified(path)
|
||||||
return fs.lastModified(realpath(path))
|
return fs.lastModified(realpath(path))
|
||||||
end
|
end
|
||||||
function proxy.getLabel()
|
|
||||||
return fs.getLabel(paths[1])
|
|
||||||
end
|
|
||||||
|
|
||||||
function proxy.exists(path)
|
function proxy.exists(path)
|
||||||
return fs.exists(realpath(path))
|
return fs.exists(realpath(path))
|
||||||
@ -98,9 +91,7 @@ function unionfs.create(...)
|
|||||||
if not fids[fid] then
|
if not fids[fid] then
|
||||||
return false, "file not open"
|
return false, "file not open"
|
||||||
end
|
end
|
||||||
local rb = fids[fid]:read(d)
|
return fids[fid]:read(d)
|
||||||
if rb == "" then rb = nil end
|
|
||||||
return rb
|
|
||||||
end
|
end
|
||||||
function proxy.seek(fid,d)
|
function proxy.seek(fid,d)
|
||||||
if not fids[fid] then
|
if not fids[fid] then
|
||||||
|
14
package.sh
14
package.sh
@ -1,9 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#rm -r psychos
|
rm -r psychos
|
||||||
#mkdir psychos
|
mkdir psychos
|
||||||
#cp -r exec/ lib/ service/ psychos/
|
cp -r exec/ lib/ service/ psychos/
|
||||||
#cp build/psychos.lua psychos/init.lua
|
cp build/psychos.lua psychos/init.lua
|
||||||
#cp default-init.txt psychos/init.txt
|
cp default-init.txt psychos/init.txt
|
||||||
#find psychos/ | cpio -oHbin > psychos.cpio
|
find psychos/ | cpio -oHbin > psychos.cpio
|
||||||
cd target
|
cd psychos
|
||||||
find | cpio -oHbin > ../psychos-tarbomb.cpio
|
find | cpio -oHbin > ../psychos-tarbomb.cpio
|
||||||
|
Loading…
Reference in New Issue
Block a user