e2undel:  home page  /  download

e2undel screenshots

Hmm, not real screenshots, of course; does not make much sense for a console tool ...

However, to give some idea, two examples of e2undel usage follow. In the first example, the data of two recently deleted files are recovered. e2undel was installed just before undeleting the files; so the undel library (and, therefore, the names of the deleted files) are not available. In the second example, libundel was installed some time before deleting the file; so deleted files can be recovered by name.

 e2undel used without the undel library 

# e2undel -d /dev/hdb6 -s /tmp -a -t
e2undel 0.74
Trying to recover files on /dev/hdb6, saving them on /tmp

/dev/hdb6 opened for read-only access
244320 inodes (137236 free)
488242 blocks of 4096 bytes (31284 free)
last mounted on Sun Dec 9 10:18:20 2001

reading log file: opening log file: No such file or directory
no entries for /dev/hdb6 found
searching for deleted inodes on /dev/hdb6:
|==================================================|
244320 inodes scanned, 807 deleted files found

   user name | 1 <12 h | 2 <48 h | 3  <7 d | 4 <30 d | 5  <1 y | 6 older
-------------+---------+---------+---------+---------+---------+--------
         foo |      10 |      72 |      33 |      28 |     384 |       0
         bar |       0 |      83 |      48 |      35 |     114 |       0
Select user name from table or press enter to exit: foo
Select time interval (1 to 6) or press enter to exit: 1

  inode     size  deleted at        name
-----------------------------------------------------------
 184219     7240  Dec  9 18:14 2001 * data
 184231     2192  Dec  9 18:14 2001 * ASCII C program text
 184233    42024  Dec  9 18:28 2001 * application/x-gzip
 184235     1520  Dec  9 18:28 2001 * text/html
 184237     1780  Dec  9 18:28 2001 * ASCII text
 184239        0  Dec  9 16:18 2001 * empty
 184246    30032  Dec  9 16:18 2001 * data
 202733     1344  Dec  9 12:51 2001 * ASCII English text
 217164     7404  Dec  9 17:58 2001 * image/jpeg
 217165    13998  Dec  9 17:58 2001 * ASCII text
Select an inode listed above or press enter to go back: 184237
1780 bytes written to /tmp/inode-184237-ASCII_text
Select an inode listed above or press enter to go back: 184231
2191 bytes written to /tmp/inode-184231-ASCII_C_program_text
Select an inode listed above or press enter to go back: 


 e2undel used with the undel library installed before deleting the files 

# e2undel -d /dev/hdb2 -s /tmp
e2undel 0.74
Trying to recover files on /dev/hdb2, saving them on /tmp
Checking only for named deleted files (use '-a' for all files)

/dev/hdb2 opened for read-only access
610432 inodes (598982 free)
1220680 blocks of 4096 bytes (1178645 free)
last mounted on Wed Dec 12 18:57:04 2001

reading log file: ..........................................................
found 100 entries for /dev/hdb2
searching for deleted inodes on /dev/hdb2:
|==================================================|
610432 inodes scanned, 118 deleted files found
checking names from log file for deleted files: 97 deleted files with names

   user name | 1 <12 h | 2 <48 h | 3  <7 d | 4 <30 d | 5  <1 y | 6 older
-------------+---------+---------+---------+---------+---------+--------
         foo |       0 |      12 |      23 |      11 |       3 |       0
         bar |       0 |       3 |      18 |      10 |       7 |       0
Select user name from table or press enter to exit: foo
Select time interval (1 to 6) or press enter to exit: 4

  inode     size  deleted at        name
-----------------------------------------------------------
   9041      170  Nov 16 17:23 2001 /home/foo/.netscape/cache/19/cache3BA36B790500577.htm
   9042     1100  Nov 16 17:23 2001 /home/foo/.netscape/cache/1A/cache3BA36B7A0510577.htm
   9051    25560  Nov 16 17:23 2001 /home/foo/.netscape/cache/05/cache3BA36CE508F0577.gif
 111354    12962  Nov 13 23:58 2001 /home/foo/texte/ext2.txt
 216271    23072  Nov 18 21:20 2001 /home/foo/ext2/e2undel-0.73/e2undel-file.o
 216272    31040  Nov 18 21:21 2001 /home/foo/ext2/e2undel-0.73/find_del.o
 216273    35444  Nov 18 21:23 2001 /home/foo/ext2/e2undel-0.73/log.o
 216275    32820  Nov 18 21:23 2001 /home/foo/ext2/e2undel-0.73/ascmagic.o
 216276    22508  Nov 18 21:23 2001 /home/foo/ext2/e2undel-0.73/is_tar.o
 216277    32792  Nov 18 21:23 2001 /home/foo/ext2/e2undel-0.73/softmagic.o
 216279     3968  Nov 19 23:34 2001 /home/foo/ext2/e2undel-0.73/profile.e2undel
Select an inode listed above or press enter to go back: 216275
32820 bytes written to /tmp/_home_odi_ext2_e2undel-0.73_ascmagic.o
Select an inode listed above or press enter to go back: