2.4系でのCIFS対応化

以下のページからcifs-1.20c-2.4.tar.gzを取ってくる

including a 2.4 kernel port : Latest 2.4 Release
(gz containing cifs vfs source files and patch for kernel makefile and configure)

http://us1.samba.org/samba/cifs/cifs_download.html

展開するとlinuxというディレクトリが出来る
その中のfsディレクトリをカーネルソースディレクトリにコピー
パッチファイルがあるのでそれをあてる

% wget http://us1.samba.org/samba/ftp/cifs-cvs/cifs-1.20c-2.4.tar.gz
% tar zxf cifs-1.20c-2.4.tar.gz
% cp -r linux/fs linux-2.4.31
% cd linux-2.4.31
% patch -p1 < ../linux/cifs_24.patch

これでmenuconfigを実行すると、CIFSが選択出来るようになる。