[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20aa8c370905120902o71ab9adflb8619e2a9ae343d0@mail.gmail.com>
Date: Tue, 12 May 2009 21:32:16 +0530
From: ranjith kannikara <ranjithkannikara@...il.com>
To: Bryan Donlan <bdonlan@...il.com>
Cc: linux-kernel@...r.kernel.org, linux-ext4@...r.kernel.org
Subject: Re: Help to edit inode content
On Tue, May 12, 2009 at 9:26 PM, Bryan Donlan <bdonlan@...il.com> wrote:
> On Tue, May 12, 2009 at 11:47 AM, ranjith kannikara
> <ranjithkannikara@...il.com> wrote:
>> Hi,
>> 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..?
>
> You'd probably be best off doing this in userspace, with the
> filesystem unmounted.
Of course we are doing it from another filesystem. ie only after
unmounting the filesystem which is being worked on. in some case we
make image of the filesystem to ensure security of data.
> Generally speaking, don't attempt to alter the filesystem from
> userspace while it is mounted.
>
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.?
Regards
Ranju.
--
http://www.ranjithkannikara.blogspot.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists