>> Finally I believe it's perhaps a general problem of all fuse 
>> filesystems, or (the most likely) a bug in fuse, or a bug in aufs.
> 
> I believe it is a problem of fuse-based fs.

I submitted it to FUSE mailing list and FUSE developers identified it as 
a fuse bug. I'm sorry for blaming aufs to be buggy, and thank you very 
much for helping me resolving this issue.

Just for the case somebody is interested, here is the patch which should 
fix the problem in kernel:


Index: linux-2.6.22/fs/fuse/inode.c
===================================================================
--- linux-2.6.22.orig/fs/fuse/inode.c   2007-07-16 19:34:38.000000000 +0200
+++ linux-2.6.22/fs/fuse/inode.c        2007-07-16 21:27:55.000000000 +0200
@@ -475,6 +475,7 @@ static struct inode *get_root_inode(stru

        attr.mode = mode;
        attr.ino = FUSE_ROOT_ID;
+       attr.nlink = 1;
        return fuse_iget(sb, 1, 0, &attr);
  }


Tomas M
slax.org

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

Reply via email to