I have read some mailing list from internet telling that is is impossible to undelete a file that was deleted accidentally if the filesystem is ext3. Is it right?
I don't know if I'd say it's impossible. It can be a lot of work, but you might be able to recover the files. The longer the filesystem is mounted after the file is deleted the less likely a recovery. One possibility is to use Lazarus from the Coroner's Toolkit. You can read a bit about it here:
I read some posts from the internet saying that when a delete operation is performed in ext3, the kernel will zero the block that the file indirected. So after deletion, the deleted file contains all zero.
OK, inetd. After doing some research you are partially correct. What happens is the whole block isn't zero'd only the indirect inodes are zero'd. Based on this you could rebuild the indirect inode map by hand and be able to recover the file. Extremly difficult? Yes. Impossible? No.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.