e2undel icon

e2undel For Linux

3.3/5 17
GPL    

e2undel is an undelete tool for the ext2 file system under Linux.. #Undelete tool  #E2undel  #Undelete  #Tool  

Description

Free Download

e2undel is an interactive console tool that recovers the data of deleted files on an ext2 file system under Linux.

Included is a library that allows to recover deleted files by name. It does not require any knowledge about the secrets of the ext2 file system and should be useable by everyone.

e2undel does not manipulate internal ext2 structures and requires only read access to the file system where the files to recover are located. It accesses the ext2 file system by way of Ted Ts'o's ext2fs library; so I think ist is safe to use.

The e2undel package contains a library that allows you to recover deleted files by their names. Usually, when a file is deleted, its name is lost; after installing this library, the names of deleted files are logged and accessible via the e2undel program.

e2undel searches all inodes marked as deleted on a file system and lists them assorted by owner and time of deletion. It gives you the file size and tries to determine the file type in the way file(1) does.

If you did not just delete a whole bunch of files with a rm -r *, this information should be helpful to find out which of the deleted files you would like to recover. After selecting a deleted file, e2undel assembles its data by reading the data blocks (whose numbers are still stored in the inode), and writes the data to a new file.

Inluded in the package is the undel library. This library, loaded by the $LD_PRELOAD mechanism, hooks into the system calls unlink(2) and remove(3). libundel logs the device (like /dev/hdb7 etc.), the inode number, and the name of each file that is deleted by these system calls in a log file (/var/e2undel/e2undel by default).

With this information, it is possible to recover deleted files by name. Of course, e2undel also works without the undel library (as outlined in the deleted file recovery howto), but you lose the functionality to recover deleted files by name if you don't use libundel - maybe the best part of this tool.

e2undel does not actually undelete a file (i.e., does not manipulate ext2 internal structures like inode, block bitmap, and inode bitmap). Instead it recovers the data of a deleted file and saves it in a new file.

Requirements:

� Linux with kernel 2.2 or 2.4 (2.0 should work, but is not tested) � ext2 filesystem (no ext3, ReiserFS, XFS, JFS; no RAID) � only tested on Intel architecture, other platforms may work � glibc 2.2 ist tested, other versions should work � the e2fsprogs packet (might be called ext2fs or something similar on your distribution); versions from 1.19 to 1.25 are tested, other (not too old) versions should work � the e2fsprogs-devel packet (Ted Ts'o's original e2fsprogs packet conatins everything necessary)

compile with make e2undel-file install by copying the resulting e2undel binary to any directory within your $PATH (e.g., /usr/local/bin)

If you delete a file stored on an ext2 file system, its data is not instantly lost. What happens is:

* ext2 marks the file's data blocks as avalaible in its block bitmap * ext2 marks the file's inode as available in its inode bitmap * the number of hard links to this file is set to 0 in the file's inode * the deletion time is set in the file's inode * ext2 invalidates the file's name in the directory entry

The file's data is not actually deleted (but it might be overwritten in the future); and the crucial information in the inode (owner, access rights, size, data blocks occupied by the file and some more) is not touched. If you know the inode number, you simply can recover the file by using Ted Ts'o's debugfs tool.

What is lost however is the association between the file name and the inode: You can't restore the former file name from the inode information. To recover the data of a deleted file, you must completely rely on the information in the inode like file size, owner, deletion time, etc.

e2undel 0.82

add to watchlist add to download basket send us an update REPORT
  runs on:
Linux
  2 screenshots:
e2undel - screenshot #1e2undel - screenshot #2
  main category:
System
  developer:
  visit homepage

Zoom Client 6.0.3.37634

The official desktop client for Zoom, the popular video conferencing and collaboration tool used by millions of people worldwide
Zoom Client

Microsoft Teams 24060.3102.2733.5911 Home / 1.7.00.7956 Work

Effortlessly chat, collaborate on projects, and transfer files within a business-like environment by employing this Microsoft-vetted application
Microsoft Teams

IrfanView 4.67

With support for a long list of plugins, this minimalistic utility helps you view images, as well as edit and convert them using a built-in batch mode
IrfanView

4k Video Downloader 1.5.3.0080 Plus / 4.30.0.5655

Export your favorite YouTube videos and playlists with this intuitive, lightweight program, built to facilitate downloading clips from the popular website
4k Video Downloader

Context Menu Manager 3.3.3.1

Customize Windows’ original right-click context menu using this free, portable and open-source utility meant to enhance your workflow
Context Menu Manager

7-Zip 23.01 / 24.04 Beta

An intuitive application with a very good compression ratio that can help you not only create and extract archives, but also test them for errors
7-Zip

calibre 7.9.0

Effortlessly keep your e-book library thoroughly organized with the help of the numerous features offered by this efficient and capable manager
calibre

ShareX 16.0.1

Capture your screen, create GIFs, and record videos through this versatile solution that includes various other amenities: an OCR scanner, image uploader, URL shortener, and much more
ShareX

Windows Sandbox Launcher 1.0.0

Set up the Windows Sandbox parameters to your specific requirements, with this dedicated launcher that features advanced parametrization
Windows Sandbox Launcher

Bitdefender Antivirus Free 27.0.35.146

Feather-light and free antivirus solution from renowned developer that keeps the PC protected at all times from malware without requiring user configuration
Bitdefender Antivirus Free

% discount
ShareX
  • ShareX
  • Windows Sandbox Launcher
  • Bitdefender Antivirus Free
  • Zoom Client
  • Microsoft Teams
  • IrfanView
  • 4k Video Downloader
  • Context Menu Manager
  • 7-Zip
  • calibre
essentials


User Comments
This enables Disqus, Inc. to process some of your data. Disqus privacy policy