Relinking an anonymous (unlinked but open) file

前端 未结 5 1232
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-30 08:39

In Unix, it\'s possible to create a handle to an anonymous file by, e.g., creating and opening it with creat() and then removing the directory link with unlink() - leaving y

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-30 09:19

    Kind of late to the game but I just found http://computer-forensics.sans.org/blog/2009/01/27/recovering-open-but-unlinked-file-data which may answer the question. I haven't tested it, though, so YMMV. It looks sound.

提交回复
热议问题