LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1071|回复: 4

急!刚刚误删除了文件,但是文件还是打开着的.

[复制链接]
发表于 2006-10-5 21:13:36 | 显示全部楼层 |阅读模式
刚刚下载了一个文件,被我不小心删除了,但是文件还是被Azure打开着,所以文件应该还是完整的在磁盘上面,请问我怎么可以恢复啊?

内核Linux debian 2.6.16-1-686 #1 Wed Mar 22 15:36:02 UTC 2006 i686 GNU/Linux
文件系统ext3
发表于 2006-10-5 23:33:07 | 显示全部楼层
如果是rm -rf的话,那就别想了。

重新下载吧。
回复 支持 反对

使用道具 举报

发表于 2006-10-6 01:03:31 | 显示全部楼层
http://batleth.sapienti-sat.org/projects/FAQs/ext3-faq.html

Q: How can I recover (undelete) deleted files from my ext3 partition?
Actually, you can't! This is what one of the developers, Andreas Dilger, said about it:

In order to ensure that ext3 can safely resume an unlink after a crash, it actually zeros out the block pointers in the inode, whereas
ext2 just marks these blocks as unused in the block bitmaps and marks the inode as "deleted" and leaves the block pointers alone.

Your only hope is to "grep" for parts of your files that have been deleted and hope for the best.
回复 支持 反对

使用道具 举报

发表于 2006-10-6 01:13:05 | 显示全部楼层
用ext2的优势来了
回复 支持 反对

使用道具 举报

发表于 2006-10-7 11:30:56 | 显示全部楼层
什么文件? 你的文件被编辑程序打开?  另存为不会试一下
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表