이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
lain.church
도움말
가입하기
로그인
izaya
/
OC-PsychOS2
의 미러
https://git.shadowkat.net/izaya/OC-PsychOS2.git
보기
1
좋아요
1
포크
0
코드
이슈
0
릴리즈
0
위키
활동
소스 검색
service/tape-iofs.lua
added a service to make an iofs node for each tape drive attached to the system, as /iofs/tapeN
pull/1/head
XeonSquared
4 년 전
부모
8e3ee7bcb2
커밋
77ceb65be6
1개의 변경된 파일
과
8개의 추가작업
그리고
0개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+8
-0
service/tape-iofs.lua
+ 8
- 0
service/tape-iofs.lua
파일 보기
@@ -0,0 +1,8 @@
local counter = 0
for addr in component.list("tape_drive") do
iofs.register("tape"..tonumber(counter),function()
local tape = component.proxy(addr)
return tape.read, tape.write, function() end, tape.seek
end)
counter = counter + 1
end
쓰기
미리보기
불러오는 중...
취소
저장