lkml.org 
[lkml]   [2003]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjecti_nlink of proc root in 2.6

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.065 / U:50.568 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site