1
1
mirror of https://git.shadowkat.net/izaya/OC-PsychOS2.git synced 2024-12-01 14:55:23 -05:00

Compare commits

..

No commits in common. "c78bb7b32c69c32e8e2310f53e502382e64deea8" and "9dd5f5d4ad5c924dbcc617f5c2f93449436316a3" have entirely different histories.

3 changed files with 8 additions and 18 deletions

View File

@ -1,3 +1,2 @@
getty.lua
fsmanager.lua
minitel.lua

View File

@ -19,10 +19,6 @@ function unionfs.create(...)
end
return paths[1].."/"..path
end
function proxy.setLabel()
return false
end
function proxy.spaceUsed()
return fs.spaceUsed(paths[1])
@ -39,9 +35,6 @@ function unionfs.create(...)
function proxy.lastModified(path)
return fs.lastModified(realpath(path))
end
function proxy.getLabel()
return fs.getLabel(paths[1])
end
function proxy.exists(path)
return fs.exists(realpath(path))
@ -98,9 +91,7 @@ function unionfs.create(...)
if not fids[fid] then
return false, "file not open"
end
local rb = fids[fid]:read(d)
if rb == "" then rb = nil end
return rb
return fids[fid]:read(d)
end
function proxy.seek(fid,d)
if not fids[fid] then

View File

@ -1,9 +1,9 @@
#!/bin/bash
#rm -r psychos
#mkdir psychos
#cp -r exec/ lib/ service/ psychos/
#cp build/psychos.lua psychos/init.lua
#cp default-init.txt psychos/init.txt
#find psychos/ | cpio -oHbin > psychos.cpio
cd target
rm -r psychos
mkdir psychos
cp -r exec/ lib/ service/ psychos/
cp build/psychos.lua psychos/init.lua
cp default-init.txt psychos/init.txt
find psychos/ | cpio -oHbin > psychos.cpio
cd psychos
find | cpio -oHbin > ../psychos-tarbomb.cpio