Regarding Hard Link

前端 未结 5 1778
自闭症患者
自闭症患者 2021-02-14 09:52

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

5条回答
  •  失恋的感觉
    2021-02-14 10:04

    This is entirely because allowing hard links to directories allows for potential loops and cycles in the directory graph without adding much value.

提交回复
热议问题