Regarding Hard Link

前端 未结 5 1971
谎友^
谎友^ 2021-02-14 09:50

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

    Because then the directory tree will cease to be a directory tree. One directory could have multiple parents.

提交回复
热议问题