Linux notes-hard links and symbolic links

Source: Internet
Author: User
Hard link: Refers to multiple path names (different file names under different directories) point to the same hard disk data, with any of the files open the modification data, will be updated in other files open, because the hard link and the "original" file Inode is the same, each add or delete a link, link count plus 1 or minus 1, When the link count is 0 o'clock, deleting the obscured inode on the hard disk deletes the data. Because hard links contain information such as inode, they cannot be used across file systems. Soft link (symbolic link): Each soft link has its own inode and save the link file complete path name and data block, so can be linked across the system, and delete the soft link to the original file has no effect, but through the soft link open the original file for modification, the original file is modified content.

Linux notes-hard links and symbolic links

Related Article

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: 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.