Skip to contentSkip to conversation

wrong hardlink count in /proc

DISCUSSION Dave Jones 3 participants 6 messages Jun 7, 2008

lore
Share & tools
lore

Dave Jones

author
#0 lore raw

In 2.6.25, 'find /proc/ -name foo' will print out ..

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

Dave

Signature · 1 line
http://www.codemonkey.org.uk
#1 lore raw
Quoted 6 lines · Dave Jones

In 2.6.25, 'find /proc/ -name foo' will print out ..

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

I also encountered this one. I think it is the one which 2.6.25.6 stable patch 42/50 fixes.

Willy

author
#2 lore raw
Quoted 10 lines · Willy Tarreau
Quoted 6 lines · Dave Jones

In 2.6.25, 'find /proc/ -name foo' will print out ..

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

I also encountered this one. I think it is the one which 2.6.25.6 stable patch 42/50 fixes.

Ah, great. I just noticed that .26rc doesn't seem affected, so sounds good.

Thanks,

Dave

Signature · 1 line
http://www.codemonkey.org.uk
#3 lore raw
Quoted 9 lines · El Sat, 7 Jun 2008 15:50:42 -0400 Dave Jones <[email protected]> escribió:
Quoted 8 lines · Willy Tarreau
Quoted 6 lines · Dave Jones

In 2.6.25, 'find /proc/ -name foo' will print out ..

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

Quoted 4 lines
Quoted 2 lines

I also encountered this one. I think it is the one which 2.6.25.6 stable patch 42/50 fixes.

Ah, great. I just noticed that .26rc doesn't seem affected, so sounds good.

well on my ubuntu box i get with .26-rc5

 [alex@Varda:kernel/linux-2.6]$ uname -a                      
 Linux Varda 2.6.26-rc5 #1 SMP PREEMPT Thu Jun 5 10:59:53 CEST 2008 x86_64 GNU/Linux
 [alex@Varda:kernel/linux-2.6]$ LC_ALL=C sudo find /proc -name foo                                              
 find: WARNING: Hard link count is wrong for /proc/1: 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.
 find: /proc/5257/net: Invalid argument
 [alex@Varda:kernel/linux-2.6]$ 
Quoted 5 lines

Thanks,

Dave

#4 lore raw
Quoted 17 lines · Alejandro Riveira Fernández
Quoted 9 lines · El Sat, 7 Jun 2008 15:50:42 -0400 Dave Jones <[email protected]> escribió:
Quoted 8 lines · Willy Tarreau
Quoted 6 lines · Dave Jones

In 2.6.25, 'find /proc/ -name foo' will print out ..

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

Quoted 4 lines
Quoted 2 lines

I also encountered this one. I think it is the one which 2.6.25.6 stable patch 42/50 fixes.

Ah, great. I just noticed that .26rc doesn't seem affected, so sounds good.

Quoted 8 lines

well on my ubuntu box i get with .26-rc5

 [alex@Varda:kernel/linux-2.6]$ uname -a                      
 Linux Varda 2.6.26-rc5 #1 SMP PREEMPT Thu Jun 5 10:59:53 CEST 2008 x86_64 GNU/Linux
 [alex@Varda:kernel/linux-2.6]$ LC_ALL=C sudo find /proc -name foo                                              
 find: WARNING: Hard link count is wrong for /proc/1: 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.
 find: /proc/5257/net: Invalid argument
 [alex@Varda:kernel/linux-2.6]$ 

It was merged after 2.6.26-rc5. Commit id is aed54175 which is post-rc5.

Regards,
Willy

#5 lore raw
Quoted 20 lines · El Sat, 7 Jun 2008 22:08:18 +0200 Willy Tarreau <[email protected]> escribió:
Quoted 19 lines · Alejandro Riveira Fernández
Quoted 9 lines · El Sat, 7 Jun 2008 15:50:42 -0400 Dave Jones <[email protected]> escribió:
Quoted 8 lines · Willy Tarreau
Quoted 6 lines · Dave Jones

In 2.6.25, 'find /proc/ -name foo' will print out ..

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

Quoted 4 lines
Quoted 2 lines

I also encountered this one. I think it is the one which 2.6.25.6 stable patch 42/50 fixes.

Ah, great. I just noticed that .26rc doesn't seem affected, so sounds good.

well on my ubuntu box i get with .26-rc5

Quoted 8 lines
Quoted 6 lines
 [alex@Varda:kernel/linux-2.6]$ uname -a                      
 Linux Varda 2.6.26-rc5 #1 SMP PREEMPT Thu Jun 5 10:59:53 CEST 2008 x86_64 GNU/Linux
 [alex@Varda:kernel/linux-2.6]$ LC_ALL=C sudo find /proc -name foo                                              
 find: WARNING: Hard link count is wrong for /proc/1: 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.
 find: /proc/5257/net: Invalid argument
 [alex@Varda:kernel/linux-2.6]$ 

It was merged after 2.6.26-rc5. Commit id is aed54175 which is post-rc5.

Thank you

Quoted 3 lines

Regards,
Willy

Alejandro

Quoted 1 line