索引节点和删除的文件条目

Inode and deleted file entries

这是参考答案 ,因为我在评论中没有收到对我的问题的回复。

What it really means is that a file entry was created in the /dev/ashmem/ directory, then later removed, but that the corresponding i-node still exists because there is at least one open file-descriptor for it

这在 *nix 术语中是什么意思? AFAIK,Android 是 ext4 类型。我知道在某些文件系统中,inode 结构会在文件被删除后保留数据,而在某些文件系统中,结构的内容会被重置。但是上面的说法是什么意思呢?如果文件条目被删除,为什么至少有一个打开的文件描述符仍然打开?这里没有硬link或软link。

在使用 mmap 和文件删除进行大量挖掘之后,this 个答案(没有自我推销)帮助我理解了这个概念。