What are the shortcomings of Linux soft links?

Alibaba cloud Q & A 2022-02-13 06:32:52 阅读数:199

shortcomings linux soft links

Linux What are the shortcomings of soft links ?




Take the answer 1:

Insufficient : Because the link file contains the path information of the original file , So when the original file is moved from one directory to another , Visit the link file again , The system can't find it , Hard links don't have this flaw , Move as much as you want ; It also requires the system to allocate extra space for creating new inodes and saving the original file path .


copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130632504452.html