[bug #26641] Wrong directory hard link count message on automounted directory.

2010-05-14 Thread Phil Dumont
Follow-up Comment #10, bug #26641 (project findutils): I could not find findutils-4.3.8. ftp://ftp.gnu.org/gnu/findutils goes from 4.2.x to 4.4.x. So I grabbed 4.4.2 (the most recent available at the time). The problem still occurs with findutils-4.4.2/find/oldfind. It does not occur with fin

[bug #26641] Wrong directory hard link count message on automounted directory.

2009-08-27 Thread Phil Dumont
Follow-up Comment #8, bug #26641 (project findutils): On further reflection, fstat *would* work. The variable I was calling "dirfd" will have come from an open(2) (or dirfd(opendir()) or something like that), which will have triggered the automount, and the file descriptor will be for the mounte

[bug #26641] Wrong directory hard link count message on automounted directory.

2009-08-27 Thread Phil Dumont
Follow-up Comment #7, bug #26641 (project findutils): Regarding my previous comment: Oops. Can't do fstat. That will just give the stat of the (now hidden) mount point. Have to stat the path. ___ Reply to this item at:

[bug #26641] Wrong directory hard link count message on automounted directory.

2009-08-27 Thread Phil Dumont
Follow-up Comment #6, bug #26641 (project findutils): find seems to be already doing *something* to determine that the st_link count is wrong -- that's what leads to the printing of the warning and the automatic turning on of the -noleaf option, yes?. All I'm saying is, wherever it is that find