From: Henry N. <Hen...@Ar...> - 2008-04-06 22:39:28
|
Hello Marwan, Marwan Al-Sabbagh wrote: >> We have tried the module on Debian 4. We have build coLinux kernel >> 2.6.22.18 with unionfs patch 2.6.22.19. But it crashes the Kernel. The >> minor differ version from .18 to .19 versions should not the problem. >> >> David Kaufman wrote to me offlist: >> > sudo su - >> > modprobe unionfs >> > mkdir fruits vegies healthy >> > touch fruits/apple vegies/carrot >> > echo "I am a fruit" > fruits/tomato >> > echo "I am a vegetable" > vegies/tomato >> > mount -t unionfs -o dirs=/root/fruits:/root/vegies \ >> > none /root/healthy >> > dir healthy # works! >> > cat healthy/apple # doesn't crash >> > cat healthy/tomato # should print: "I am a fruit" >> > # (but crashes colinux instead) :-) > > Hi Henry, > I used the following files/versions: > > http://downloads.sourceforge.net/colinux/coLinux-0.7.2-src.tar.gz > http://download.filesystems.org/unionfs/unionfs-2.x/unionfs-2.2.4_for_2.6.22.18.diff.gz > http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.22.tar.bz2 > > I used coLinux 0.7.2 source, it used the 2.6.22 kernel by default, > the closest patch to that was unionfs-2.2.4_for_2.6.22.18.diff. Now I > did run a diff between Linux 2.6.22.18 and 2.6.22, and I confirmed > that none of the files patched by unionfs had changed significantly. Many thanks. Your code sems me better. There exist a new function "unionfs_file_revalidate_locked" and the "verify_locked" was removed :-) I will try the patch unionfs-2.2.4_for_2.6.22.18.diff.gz now. -- Henry N. |