On Sun, Nov 05, 2006 at 08:44:35AM +0100, Matthias Lederhofer wrote: > The problem is that one device can be mounted on itself using bind > mounts. In this case in line 311 of compat.c pdev and dev are equal > but the inodes differ because readdir() returns the inode of the > target directory of the bind mount and stat(".") in line 252 returned > the inode of the source directory. > Undefining HAVE_STRUCT_DIRENT_D_INO works and I don't know if there is > any other way to work with bind-mounts than not using the inode > returned by readdir().
I think I recall something similar happening with chroots. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org