public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* wrong hardlink count for /proc/PID directories
@ 2004-12-22 22:16 Egmont Koblinger
  2004-12-22 22:42 ` Jan Engelhardt
  0 siblings, 1 reply; 4+ messages in thread
From: Egmont Koblinger @ 2004-12-22 22:16 UTC (permalink / raw)
  To: linux-kernel

Hi,

Tested on some 2.6.[7-9] kernels: a stat call for a /proc/SOMEPID
directory returns a hard link count of 3, which is invalid, since these
directories have three subdirectories (attr, fd and task) and hence the hard
link counter should be 5.

This causes at least 'find' (gnu findutils) to malfunction, it does not
descend under /proc/SOMEPID/fd and /proc/SOMEPID/attr. See also:
https://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=11379



bye,

Egmont

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

end of thread, other threads:[~2004-12-30  1:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-22 22:16 wrong hardlink count for /proc/PID directories Egmont Koblinger
2004-12-22 22:42 ` Jan Engelhardt
2004-12-22 23:02   ` Egmont Koblinger
2004-12-30  1:12   ` H. Peter Anvin

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