Alibaba cloud Q & A 2022-02-13 06:32:53 阅读数:790
Linux What is the specific difference between soft link and hard link ?
Under the actual situation , Basically using soft links . But to summarize , There are three differences :
Hard links cannot cross partitions , Software chains can span partitions .
Hard links point to a inode node , And soft link is to create a new inode node .
Delete hard link files , The original file will not be deleted , Delete soft link file , Will delete the original file .
copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130632516903.html