From: Herbert Poetzl <herbert@13thfloor.at>
To: linux-kernel@vger.kernel.org
Subject: i_nlink of proc root in 2.6
Date: Sun, 28 Sep 2003 06:23:21 +0200 [thread overview]
Message-ID: <20030928042321.GA29651@DUK2.13thfloor.at> (raw)
Hi All!
just stumbled over a weird behaviour in 2.6.0-test5 ...
the procfs root directory inode is supposed to show
the number of 'links' according to the subdirectories,
but instead shows the value used for initialization,
although the i_nlink is updated in proc_root_lookup()
best,
Herbert
---------- should be >= 11
v
dr-xr-xr-x 2 root root 0 Sep 28 04:16 .
drwxr-xr-x 14 1000 1000 1024 Jul 13 20:39 ..
dr-xr-xr-x 3 root root 0 Sep 28 04:16 1
dr-xr-xr-x 3 root root 0 Sep 28 04:16 10
dr-xr-xr-x 3 root root 0 Sep 28 04:16 2
dr-xr-xr-x 3 root root 0 Sep 28 04:16 3
dr-xr-xr-x 3 root root 0 Sep 28 04:16 4
dr-xr-xr-x 3 root root 0 Sep 28 04:16 5
dr-xr-xr-x 3 root root 0 Sep 28 04:16 6
dr-xr-xr-x 3 root root 0 Sep 28 04:16 7
dr-xr-xr-x 3 root root 0 Sep 28 04:16 8
reply other threads:[~2003-09-28 4:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20030928042321.GA29651@DUK2.13thfloor.at \
--to=herbert@13thfloor.at \
--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
all inboxes | Powered by JetHome®