|
发表于 2005-11-2 16:41:03
|
显示全部楼层
小结
ext2 可以恢复,ext3 不可以恢复,
因为ext2是 把inode标记为deleted,在未重新分配前 还是可以找回来的。而ext3是 把删除文件的inode数据清零。
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. |
|