What is hard link count?
Answer
In the case of a regular file, the link count is
the number of hard links to that file
. However, Unix file systems don’t let you create hard links to directories, yet the link count on a directory is always at least two, and even increases by one for each sub-directory in that directory.
Answer
In the case of a regular file, the link count is
the number of hard links to that file
. However, Unix file systems don’t let you create hard links to directories, yet the link count on a directory is always at least two, and even increases by one for each sub-directory in that directory.