Chinaunix首页 | 论坛 | 博客
  • 博客访问: 257130
  • 博文数量: 65
  • 博客积分: 2599
  • 博客等级: 少校
  • 技术积分: 710
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-04 10:49
文章分类

全部博文(65)

文章存档

2015年(4)

2013年(2)

2012年(4)

2011年(51)

2010年(4)

分类: LINUX

2011-12-18 15:28:19

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.
阅读(1168) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~