RubyFS
ä»æ¥ã®åã¿ä¼ãã¿å®è£ ã Ruby ã®ä¸çããã¡ã¤ã«ã«æ½è±¡åãã¾ãããªãã§ããã¡ã¤ã«ã
http://shinh.skr.jp/ttyplay/rubyfs.html
i@u /mnt/tmp> cat Time/now Sun Mar 19 01:41:00 JST 2006
i@u /mnt/tmp> cat Array/new > @a= i@u /mnt/tmp> echo '"foo"' '"bar"' '"baz"' > @a/push i@u /mnt/tmp> cat @a/push ["foo", "bar", "baz"] i@u /mnt/tmp> cat @a/size 3 i@u /mnt/tmp> cat @a/pop "baz" i@u /mnt/tmp> cat @a/size 2
FUSE 㨠Ruby FUSE ãç¨ãã¦ä½ãã¾ããã
100 è¡è¶³ããã§ã¼ãã«ãããããµãããããã¦ãã
http://shinh.skr.jp/dat_dir/rubyfs.rb
ãã ãã®ä»çµã¿ã¯ Lua ã¨ã JS ã¨ãã®æ¹ãåãã¦ããã ãªã⦠Ruby ã¯ãããããããã
追è¨ããããããè²ã ãªè£è¶³ãã
- ls Time ã§ã¡ã½ããä¸è¦§ãåºãã®ã¯å°å³ã«ä¾¿å©ãshellç±æ¥ã®è£å®ãæ®éã«å¹ããã
- refefs ã¨ãä½ã£ã¦ãã®å ´æã http ã§å ¬éã£ã¦ã®ã¯ã©ãã§ããããã
- æ¬å½ã¯ echo args > object/method; cat object/method ã¨ããã¤ã³ã¿ã¼ãã§ã¼ã¹ããã ./object/method args ã®æ¹ãããã¨æãã¾ãããããããã«ã¯ ./object/method ã¯ã¡ããã¨å®è¡ã§ãããã¡ã¤ã«ãè¦ããªããã°ãªããããã¤ãã㯠rubyfs.rb æ¬ä½ã¨ããã»ã¹ééä¿¡ã§ããªããã°ãªãã¾ããã
- ãã®å ´åã¯æ¨æºå ¥åã使ããã®ãé åã§ãã rubyfs ããã¦ã³ãããé¨åãå ¬éããã°ããã ãã§åæ£ãªãã¸ã§ã¯ããã¿ãããªã
- è¨èªãåæã¨ãã¦ããã«ååãã OS ãä½ãã°å¹¸ããããã®ã§ã¯ã¨è©±ãã¦ãã¾ããã
- .NetFS ã¨ãã
- to_yaml ã¯ãã¾ãã¾æ¶ãå¿ãã¦ã require 'yaml' ããã£ãããã§ããã®ã§ããã
- pyfs ãè¦ãã« cp rubyfs/Array/new pyfs/array ã¨ãã§è¨èªééä¿¡ã§ããã¨ãããªã¨ãæãã¾ããã
- ã¨ãããããããã° mount hoge.rb /mnt/tmp ã¨ãããã¨ãã³ã§è¯ãã¨ãã話ã§ãããã
- OSC ã§è¦ãã¦ããã£ã Plan9 ã sh 㧠ptrace ã§ããã£ã½ãã¨ãããã®ãè¦ã¦å¦æ³ãã¦ããã®ã§ããã
- Ruby FUSE ã«ã¯ sqlfs ã ã® yamlfs ã ã®å¤¢ä¸æ¯ãªãã®ãå ¥ã£ã¦ãã¾ãã