James B: > No worries, it's nothing urgent. For now I just use aufs without the patch. > Thank you for looking into this.
Now I am fixing the bug. Almost done. One thing left is to support lseek fully. I mean, if your /proc/mounts has 1000 bytes and lseek(2) to 1, then you may expect read(2) will return 999. It seems hard for seq_file (linux kenel) to support lseek(2). My current fix retuns 0 for this case. But if your read(2) 1000 bytes and lseek(2) to 0 (full rewind), and read(2) will return 1000 again. Is it acceptable for you? J. R. Okajima