You are not logged in.

#1 2005-02-08 05:49:03

wanderingidea
Member
From: The Hague, The Netherlands
Registered: 2004-12-24
Posts: 26
Website

find results in warning - problem?

Hi,

A find results in the following warning:

WARNING: Hard link count is wrong for /proc: 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.

Is this something to worry about?

Cor

Offline

#2 2005-02-08 09:15:46

olly-bh
Member
Registered: 2004-04-22
Posts: 14

Re: find results in warning - problem?

wanderingidea wrote:

Hi,

A find results in the following warning:

WARNING: Hard link count is wrong for /proc: 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.

Is this something to worry about?

Cor

I get this warning too - I've not noticed it before.  I guess it's from a recent findutils update.

 % ls -lid /proc
1 dr-xr-xr-x  107 root root 0 2005-02-08 08:22 /proc

The number in the first column is the inode number.  The third column is the number of the hard links to the inode.  The slightly weird thing is I can't find any other hard links to it:

 % sudo find /proc -inum 1 -xdev -ls 2> /dev/null
     1    0 dr-xr-xr-x  85 root     root            0 Feb  8 08:22 /proc

I don't think it's something to worry about - /proc isn't a real filesystem.  I guess the links are something to do with processes - the number of hard links to /proc seems to constantly change.

- olly

Offline

#3 2005-03-07 20:20:40

marcob
Member
From: B-town USA
Registered: 2004-11-10
Posts: 38
Website

Re: find results in warning - problem?

I'm getting this problem now too, on two of my servers.  Both servers have had a 2nd hard drive installed recently.  One still has the 2nd hard drive and one doesn't.

I don't get the error if I run a find anywhere but the root partition.

Any ideas.  I hate to just ignore it.

TIA

Offline

#4 2005-04-09 15:13:29

Florin
Member
From: Verona, Italy.
Registered: 2004-11-21
Posts: 17

Re: find results in warning - problem?

Google provided the following hint(s):

http://forums.gentoo.org/viewtopic-p-2213058.html
http://bugs.gentoo.org/show_bug.cgi?id=86031

Also I have submitted a bug (using Arch's bug reporting system) right here.

Offline

Board footer

Powered by FluxBB