![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
LinkBack | Thread Tools | Display Modes |
| Forum Sponsor | ||
|
|
|
|||
|
Suppose the file system is ext2, ext3, or raiserfs, is it possible to use the debugfs tool or ext3grep?
I have posted here a solution for ext3 using debugfs to get the inode, and extrgrep to undelete the file. I hope it helps. 1. run debugfs to the location of files and list all files. # debugfs $HARDDISK debugfs> cd /lost/directory debugfs> ls -d <INODE> ... deleted_files_are_enclosed_in_<_> INODE 2. restore using ext3grep # ext3grep $HARDDISK --restore-inode INODE lordmwesh kivuva.kenya.or.ke |
|||
| Google UNIX.COM |