Linux system hard link and symbolic link summary __linux

Source: Internet
Author: User

Hard Links:

1. The same I node, through the number of links to the I node to determine the number of shares.

2. When you delete a file, the number of links-1 until the number of links is 0 before you delete the file.

3. Since 1., with the same I node, it means that there is only one file (Linux a file has a unique I node), save space.

4. It must be available under the same file system.


Symbolic Link:

1. When sharing, create a new I node, and save the absolute pathname of the shared file to access.

2. Delete the file, if the shared file, all the symbolic link file is invalid, if not, only delete the symbolic link file.

3. Can be used in different file systems.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.