Gordon Messmer wrote: > > I believe that it calls fstat() on the directory after opening it, and > uses the st_nlink field in the result. An empty directory will have two > hard links. Nope. My ignorance is showing, again. A directory with no *subdirectories* will have two hard links.