[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Possible problem with savedir.c (XFS over NFS)
From: |
James Youngman |
Subject: |
Possible problem with savedir.c (XFS over NFS) |
Date: |
Sun, 5 Dec 2004 13:51:49 +0000 |
User-agent: |
Mutt/1.3.28i |
All,
This is just for your info really. Some people have been reporting a
difficulty in using "find" on a GNU/Linux client accessing an NFS
filesystem mounted on Irix (the filesystem on the Irix box is XFS).
It may well be the case that the problem is occurring in gnulib's
savedir() routine. It appears that readdir() is failing on the
(Linux) client with EOVERFLOW. I'm not sure yet why this is
happening, but it's possible that the directory contains a filename
which is longer than NAME_MAX. There is some evidence to the contrary
in a related bug report, though. It's a bit of a puzzle.
I've just re-read the POSIX description for readdir(). It seems to
imply that when it returns NULL, this may not be due to the indicate
that we have reached the end of the directory; instead, we should
check to see if errno is unchanged as well. It's not completely
clear.
Useful URLs:
The findutils bug:
http://savannah.gnu.org/bugs/?func=detailitem&item_id=8455
Red Hat bug report:
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=141167
Debian GNU/Linux bug report:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=241538
Mailing list thread:
http://lists.gnu.org/archive/html/bug-findutils/2004-12/msg00000.html
Regards,
James.