wakatonoの戯れメモ

はてなダイアリーから引っ越してきました。

Linux 2.6 test8 用のJeff Dikeパッチリリース

こちらから入手可能。
これまでなおっていなかったuptimeのバグが改修されとります。
それでもhostfsが使えなかったりという状態だったので、結局自分で改修(笑)。
user-mode-linux-devel MLに投げたものから該当部分を抜粋。
ちなみに追加ソースコード&修正したMakefileこちらに置いてあります

If you try to use hostfs in linux-2.6-test8 + uml patch, apply hostfs codes of
test5 (+uml patch) and modify Makefile as below..

add 1 line as below in Makefile in fs dir.

obj-$(CONFIG_HOSTFS) += hostfs/

I made patch kit ( tarball ) to linux-2.6-test8 + uml patch by Jeff Dike.

If you use this patch kit, see below.

1. download it
http://www.todo.gr.jp/~wakatono/hostfs-for-uml-2.6-test8+patch.tar

It includes hostfs code and modified Makefile in [kernel_top_dir]/fs directory.

2. untar it
cd [your_uml_kernel_top_dir]/fs
tar xvf [downloaded file name]

3. build uml kernel.