[OpenAFS] Inodes for "dot" and "dot dot" when current dir is mount point

Dexter 'Kim' Kimball kim.kimball@ccre.com
Fri, 08 Aug 2003 11:45:13 -0600


Solaris/IBM AFS shows the same inode number for "." and ".." when the CWD "is" a mount point  (i.e. I cd to a mount point and am at the root node of the volume).


$ /usr/afsws/bin/fs mkm goober root.cell

$ cd goober
$ ls -ial
total 84
    196609 drwxr-xr-x   5 root     root        2048 Aug 24  2002 .
    196609 drwxr-xr-x   2 kim      jpl         2048 Aug  8 10:34 ..


OpenAFS 1.2.8 does not:

[kim@magic kim]$ fs mkm foober root.cell
[kim@magic kim]$ cd foober
[kim@magic foober]$ ls -ia
 397436 .    196622 AFS   196613 books   196626 project   196616 sw     196617 vcds
 262146 ..   196636 bar   196615 doc     196612 RPMS      196611 user   196624 www


Does the CM keep track of the inode info for "." and ".." ??
Is it stored in the mount point itself?
Anybody know why Solaris/IBM AFS would report the same inode for "." and ".."  -- only place I expected to see this was / ... where there is no parent for ".." to map to.

?????

Thanks.

Kim
-----------------------------------------

Kim Kimball
dhk@ccre.com