lkml.org 
[lkml]   [2005]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Kernel 2.6.14.2 - Hard link count is wrong
Date
On Saturday 19 November 2005 3:08 am, you wrote:

> > find: WARNING: Hard link count is wrong for .: this may be a bug in your
> > filesystem driver. Automatically turning on find's -noleaf option.
> > Earlier results may have failed to include directories that should have
> > been searched.
> >
> > According to google, this might be a kernel bug due to some problems in
> > /proc, see:
> > https://www.redhat.com/archives/fedora-list/2005-September/msg02474.html
> > Well, how to debug that problem?
>
> That find check is somewhat incorrect (hard link count can be legally
> modified after the search was started and before it finished), but I did
> fix up the /proc problems that existed a while back.
>
> This patch will give you a more useful error from findutils.

I just had the same problem (first time ever) with 2.6.14.2.
The patched find says:

find: WARNING: Hard link count (5) is wrong for /proc/bus: this may be a bug
in your filesystem driver. Automatically turning on find's -noleaf option.
Earlier results may have failed to include directories that should have been
searched.


My /proc/bus/ contains this:

# ls -al /proc/bus/
total 0
dr-xr-xr-x 5 root root 0 Nov 18 01:45 ./
dr-xr-xr-x 199 root root 0 Nov 18 02:45 ../
dr-xr-xr-x 2 root root 0 Nov 20 15:16 input/
dr-xr-xr-x 2 root root 0 Nov 20 15:16 pccard/
dr-xr-xr-x 5 root root 0 Nov 20 10:45 pci/
drwxr-xr-x 6 root root 0 Nov 18 01:45 usb/


I checked on a few machines I have with the same kernel version, but this
happens only on my notebook. Is there any other test I can do to help
pinpoint the problem?

--
Bye,
Massimiliano Hofer
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-11-20 15:45    [W:0.035 / U:0.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site