Understand the following figures:
So a so called hard link is just a directory entry, and a symbol link is a special type
of file. The content of a symbol link is the absolute path to a file or directory.
Every file including directory has a inode,, and there is a link number in this struct to record
how many directory entries point to itself. When this number turn to 0, file will be delete from
physical disk.
阅读(1162) | 评论(0) | 转发(0) |