Re: Filesystem oddity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux