Help! I need to undelete files on EXT3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I try to find block on the partition with the following command,
I don't have the offset just
Binary file /dev/hda7 matches

#grep -b "int main" /dev/hda7

> -----Message d'origine-----
> De : Stephen C. Tweedie [mailto:sct@redhat.com]
> Envoye : mercredi 5 juin 2002 14:55
> A : Yves Crespin
> Cc : Stephen C. Tweedie; ext3-users@redhat.com
> Objet : Re: Help! I need to undelete files on EXT3
>
>
> Hi,
>
> On Wed, Jun 05, 2002 at 01:38:08PM +0200, Yves Crespin wrote:
> > I have found in debugfs the following command : ls -d which list deleted
> > entries
> > deleted entries inode :
> > <inode> (???) filename
> >
> > how can I link those inode to a new filename?
>
> "modify_inode <nr>" will let you set the i_nlink to 1 and the dtime to
> zero, then fsck will find the inode and place it into /lost+found.
>
> > how can I know with block are used by those inodes?
>
> That's the problem --- you can't.  It does not use any blocks.
>
> > do ext3 use contigues block?
>
> It tries to but there is no guarantee.
>
> --Stephen





[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux