Can somebody please explain me why the kernel doesn\'t allow us to make a hard link to a directory. Whether it is because it breaks the rule of directed acyclic graph structure
This is entirely because allowing hard links to directories allows for potential loops and cycles in the directory graph without adding much value.