public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Egmont Koblinger <egmont@uhulinux.hu>
To: linux-kernel@vger.kernel.org
Subject: wrong hardlink count for /proc/PID directories
Date: Wed, 22 Dec 2004 23:16:23 +0100	[thread overview]
Message-ID: <20041222221623.GA706@cs.bme.hu> (raw)

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

             reply	other threads:[~2004-12-22 22:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-22 22:16 Egmont Koblinger [this message]
2004-12-22 22:42 ` wrong hardlink count for /proc/PID directories Jan Engelhardt
2004-12-22 23:02   ` Egmont Koblinger
2004-12-30  1:12   ` H. Peter Anvin

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=20041222221623.GA706@cs.bme.hu \
    --to=egmont@uhulinux.hu \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox