[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[OT] Re: Undeletion utililty for ext3/4
- From: Christian Kujau <lists nerdbynature de>
- To: Number9652 <number9652 yahoo com>
- Cc: ext-users <Ext3-users redhat com>
- Subject: [OT] Re: Undeletion utililty for ext3/4
- Date: Sun, 3 May 2009 10:03:44 -0700 (PDT)
On Thu, 30 Apr 2009, Number9652 wrote:
> I have recently released a project on sourceforge
> ( http://extundelete.sourceforge.net ) that can undelete a file from an
> ext3 or ext4 partition. It uses code from ext3grep to parse
> command-line options, and uses libext2fs to read the partitions.
Hm, compiling with g++ 4.4 gave me a few compiling errors[0] - the patch
attached "fixes" them, but when extundelete is actually used, it crashes:
# ./extundelete /dev/md0
Running extundelete version 0.0.3
extundelete: extundelete.cc:894: void load_super_block(struct_ext2_filsys*):
Assertion `(super_block.s_feature_compat & 0x0004)' failed.
Aborted
...but maybe that has been caused by the patch. Hm.
Christian.
[0] http://nerdbynature.de/bits/extundelete/
--
All infinite sets are countable -- by Bruce Schneier.
diff -Nrup extundelete-0.0.3/src/insertionops.cc extundelete-0.0.3.edited/src/insertionops.cc
--- extundelete-0.0.3/src/insertionops.cc 2009-04-28 20:17:32.000000000 +0200
+++ extundelete-0.0.3.edited/src/insertionops.cc 2009-05-03 12:54:14.000000000 +0200
@@ -8,6 +8,8 @@
#include <ext2fs/ext2fs.h>
#include "kernel-jbd.h"
#include "undel.h"
+#include <stdint.h>
+#include <assert.h>
// Below are a bunch of functions to allow us to print information
// about various types of data we encounter in this program.
diff -Nrup extundelete-0.0.3/src/undel-priv.h extundelete-0.0.3.edited/src/undel-priv.h
--- extundelete-0.0.3/src/undel-priv.h 2009-04-28 20:17:32.000000000 +0200
+++ extundelete-0.0.3.edited/src/undel-priv.h 2009-05-03 12:50:39.000000000 +0200
@@ -4,6 +4,7 @@
#include <iomanip>
#include <list>
#include <ext2fs/ext2fs.h>
+#include <stdint.h>
// Global variables
#ifdef USE_SVN
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]