Author Topic: File Truncated. Need Help Recovering.  (Read 718 times)

prokaryx

  • Newbie
  • *
  • Posts: 16
    • View Profile
    • http://
File Truncated. Need Help Recovering.
« on: July 27, 2006, 09:11:31 am »
Somehow a text file I was working on got truncated by the zaurus. The back portion of the file has disappeared. This is not the first time this has happened; it happened twice on my fat32 SD card, and now it happened on my ext2-formatted internal flash.

I'm hoping the problem is just a corrupted inode and that the missing portion is left untouched in some blocks somewhere. So far i've not touched the zaurus in case the filesystem structure gets changed further.

So my question is, how do I examine the raw contents of the internal flash? I'm still quite new to linux. Do I use debugfs? dumpe2fs? And what's the entry for the internal flash in /dev?