lkml.org 
[lkml]   [2009]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Help to edit inode content
On May 12, 2009  21:32 +0530, ranjith kannikara wrote:
> On Tue, May 12, 2009 at 9:26 PM, Bryan Donlan <bdonlan@gmail.com> wrote:
> > On Tue, May 12, 2009 at 11:47 AM, ranjith kannikara
> > <ranjithkannikara@gmail.com> wrote:
> >> I am a computer science engineering student. We have started a project
> >> to make an application to recover deleted files from an ext3
> >> filesystem. For that we have a doubt . Can we edit the inode content?
> >> ie the recovery will be robust if we could edit the inode contents and
> >> give the pointer address manually or through a code. The inode is
> >> being created in the kernel mode and is it possible to edit those
> >> contents if the code is allowed to have the kernel mode permissions..?
>
> But we would like to know whether it is possible to edit the inode
> because it will make the recovery easy and robust. ie he know the
> details of the inode of the file which had been deleted is it possible
> to edit the content of that inode with the pointers of the deleted
> file.?

Are you asking whether it is possible to modify the on-disk structure
of the ext3 inode? Generally that is NOT allowed because it will of
course break all existing filesystems if not done with extreme care.

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.



\
 
 \ /
  Last update: 2009-05-12 22:07    [W:0.042 / U:1.944 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site