I have read that hard links to directories are not allowed in Unix because they might cause loops in the file system. Assume I have a sub directory inside directory, how the link to the sub directory is represented if not by a hard link? Does it represented by soft link? it seems very unlikely to be the answer because how it will be possible to access a directory in that way as even the root wont be able to store them.
Thanks a lot to the helpers.
Unix systems generally do not allow user specified hard links to directories.
Subdirectory entries, .
and ..
are indeed hard links, but they're managed by the system to ensure consistency.