Interview Prep/Linux/Filesystem Hierarchy, Inodes & Links

Why can't you create hard links to directories?

AdvancedConceptFilesystem Hierarchy, Inodes & Links
Answer

Directory hard links could create cycles in the tree, which would break tools that walk the filesystem (find, du, fsck) and make reference counting unable to free unreachable loops. Also .. would become ambiguous. The kernel therefore only allows the implicit . and .. links, so a directory's link count is 2 plus its number of subdirectories.

All Linux questions Roadmap: Linux

More on Filesystem Hierarchy, Inodes & Links