All of lore.kernel.org
 help / color / mirror / Atom feed
From: Massimiliano Hofer <max@bbs.cc.uniud.it>
To: linux-kernel@vger.kernel.org
Subject: Re: Kernel 2.6.14.2 - Hard link count is wrong
Date: Sun, 20 Nov 2005 15:41:28 +0100	[thread overview]
Message-ID: <200511201541.28600.max@bbs.cc.uniud.it> (raw)
In-Reply-To: <437E8904.40001@gentoo.org>

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

  reply	other threads:[~2005-11-20 14:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-18 18:59 Kernel 2.6.14.2 - Hard link count is wrong Clemens Koller
2005-11-19  2:08 ` Daniel Drake
2005-11-20 14:41   ` Massimiliano Hofer [this message]
     [not found] ` <200511201522.35660.max@bbs.cc.uniud.it>
     [not found]   ` <4380914C.1010903@gentoo.org>
2005-11-20 15:14     ` Massimiliano Hofer
2005-11-20 18:27       ` Massimiliano Hofer
2005-11-21 11:17         ` Clemens Koller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200511201541.28600.max@bbs.cc.uniud.it \
    --to=max@bbs.cc.uniud.it \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.