public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* wrong hardlink count in /proc
@ 2008-06-07 19:34 Dave Jones
  2008-06-07 19:46 ` Willy Tarreau
  0 siblings, 1 reply; 6+ messages in thread
From: Dave Jones @ 2008-06-07 19:34 UTC (permalink / raw)
  To: Linux Kernel

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

-- 
http://www.codemonkey.org.uk

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: wrong hardlink count in /proc
  2008-06-07 19:34 wrong hardlink count in /proc Dave Jones
@ 2008-06-07 19:46 ` Willy Tarreau
  2008-06-07 19:50   ` Dave Jones
  0 siblings, 1 reply; 6+ messages in thread
From: Willy Tarreau @ 2008-06-07 19:46 UTC (permalink / raw)
  To: Dave Jones, Linux Kernel

On Sat, Jun 07, 2008 at 03:34:24PM -0400, Dave Jones wrote:
> 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: wrong hardlink count in /proc
  2008-06-07 19:46 ` Willy Tarreau
@ 2008-06-07 19:50   ` Dave Jones
  2008-06-07 20:04     ` Alejandro Riveira Fernández
  0 siblings, 1 reply; 6+ messages in thread
From: Dave Jones @ 2008-06-07 19:50 UTC (permalink / raw)
  To: Willy Tarreau; +Cc: Linux Kernel

On Sat, Jun 07, 2008 at 09:46:04PM +0200, Willy Tarreau wrote:
 > On Sat, Jun 07, 2008 at 03:34:24PM -0400, Dave Jones wrote:
 > > 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

-- 
http://www.codemonkey.org.uk

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: wrong hardlink count in /proc
  2008-06-07 19:50   ` Dave Jones
@ 2008-06-07 20:04     ` Alejandro Riveira Fernández
  2008-06-07 20:08       ` Willy Tarreau
  0 siblings, 1 reply; 6+ messages in thread
From: Alejandro Riveira Fernández @ 2008-06-07 20:04 UTC (permalink / raw)
  To: Dave Jones; +Cc: Willy Tarreau, Linux Kernel

El Sat, 7 Jun 2008 15:50:42 -0400
Dave Jones <davej@redhat.com> escribió:

> On Sat, Jun 07, 2008 at 09:46:04PM +0200, Willy Tarreau wrote:
>  > On Sat, Jun 07, 2008 at 03:34:24PM -0400, Dave Jones wrote:
>  > > 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.

 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]$ 

> 
> Thanks,
> 
> 	Dave
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: wrong hardlink count in /proc
  2008-06-07 20:04     ` Alejandro Riveira Fernández
@ 2008-06-07 20:08       ` Willy Tarreau
  2008-06-07 20:25         ` Alejandro Riveira Fernández
  0 siblings, 1 reply; 6+ messages in thread
From: Willy Tarreau @ 2008-06-07 20:08 UTC (permalink / raw)
  To: Alejandro Riveira Fernández; +Cc: Dave Jones, Linux Kernel

On Sat, Jun 07, 2008 at 10:04:18PM +0200, Alejandro Riveira Fernández wrote:
> El Sat, 7 Jun 2008 15:50:42 -0400
> Dave Jones <davej@redhat.com> escribió:
> 
> > On Sat, Jun 07, 2008 at 09:46:04PM +0200, Willy Tarreau wrote:
> >  > On Sat, Jun 07, 2008 at 03:34:24PM -0400, Dave Jones wrote:
> >  > > 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.
> 
>  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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: wrong hardlink count in /proc
  2008-06-07 20:08       ` Willy Tarreau
@ 2008-06-07 20:25         ` Alejandro Riveira Fernández
  0 siblings, 0 replies; 6+ messages in thread
From: Alejandro Riveira Fernández @ 2008-06-07 20:25 UTC (permalink / raw)
  To: Willy Tarreau; +Cc: Dave Jones, Linux Kernel

El Sat, 7 Jun 2008 22:08:18 +0200
Willy Tarreau <w@1wt.eu> escribió:

> On Sat, Jun 07, 2008 at 10:04:18PM +0200, Alejandro Riveira Fernández wrote:
> > El Sat, 7 Jun 2008 15:50:42 -0400
> > Dave Jones <davej@redhat.com> escribió:
> > 
> > > On Sat, Jun 07, 2008 at 09:46:04PM +0200, Willy Tarreau wrote:
> > >  > On Sat, Jun 07, 2008 at 03:34:24PM -0400, Dave Jones wrote:
> > >  > > 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.
> > 
> >  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.
 
 Thank you

> 
> Regards,
> Willy

 Alejandro
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-06-07 20:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-07 19:34 wrong hardlink count in /proc Dave Jones
2008-06-07 19:46 ` Willy Tarreau
2008-06-07 19:50   ` Dave Jones
2008-06-07 20:04     ` Alejandro Riveira Fernández
2008-06-07 20:08       ` Willy Tarreau
2008-06-07 20:25         ` Alejandro Riveira Fernández

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox