June 4, 2011
jslinuxまとめ

・jslinux本体

http://www.bellard.org/jslinux/

・jslinux仕様

http://www.bellard.org/jslinux/tech.html

・ローカルディスクを使用する方法

https://gist.github.com/976086

こんな感じで新しいディスクイメージ作って、CocProxy や Fiddler の AutoResponder を使って root.bin へのリクエストをローカルのファイルに差し替えてやれば、好きなファイルも入れられる。

jslinux-disk.txt 
# wget http://bellard.org/jslinux/root.bin# mkdir mnt# mount -o loop root.bin mnt# dd if=/dev/zero of=/tmp/image bs=1k count=4096# mke2fs -m 0 -i 2000 /tmp/image# mkdir mnt2# mount -t ext2 -o loop /tmp/image mnt2# cp -dpR mnt/* mnt2/# umount /mnt2
and use CocProxy or Fiddler's AutoResponder for http://bellard.org/jslinux/root.bin