LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 02-13-2008, 02:08 AM   #1
ashwyn222
LQ Newbie
 
Registered: Feb 2008
Posts: 1

Rep: Reputation: 0
How to access inode of a deleted file?


I am not an expert in linux. I have undertaken a project called as File system recovery. Most of the things I know and now I am facing problem to acces inode of a file. Can anyone please suggest -
How to access an inode of a deleted file.

I also need to know if there is any ebook available.
 
Old 02-13-2008, 03:11 AM   #2
otheus
LQ Newbie
 
Registered: Jun 2006
Location: Austria
Distribution: RHEL AS 4
Posts: 25

Rep: Reputation: 16
First, you need to know what filesystem you're dealing with. ext2 and resierFS are very different. For ext2, an old college buddy of mine (10+ years ago) had put together a file unerase utility, written in perl. You should be able to google for such a thing.
 
Old 02-13-2008, 03:53 AM   #3
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
If you're trying to recovery files from ext2/ext3 filesystems, you might be duplicating work that has already been done. The Coroner's Toolkit contains the programs unrm (unremove) and lazarus which can be used together to attempt to undelete files. The authors point out that it is not for the faint of heart. I know the book Knoppix Hacks contains instructions for this. You may be able to find other instructions around. If you don't want to use these tools as is, perhaps reading their source can answer some of the questions you have.
 
Old 02-13-2008, 05:36 AM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
For recovering specific file types from any readable media you can use foremost, it was developed by the government for their own use, so it is quite good at what it does, it's helped me out a lot. It's also open-source which may help you with your project.

Last edited by H_TeXMeX_H; 02-13-2008 at 05:37 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you write a script to display file name, Inode, and size of any file? JaxsunApex Linux - Newbie 3 01-30-2007 09:39 AM
Western Digital My Book Ext3 format reports "Ext3-fs: Journal inode is deleted" ChronusDark Linux - Desktop 3 10-31-2006 04:56 PM
access file using inode number? allasso Linux - General 1 09-26-2006 10:14 PM
need to recover data in a deleted inode wilsonsamm Linux - General 6 08-30-2006 12:34 PM
Directory access denied to root user: inode hack? netmar Linux - Security 2 07-31-2004 05:53 AM


All times are GMT -5. The time now is 01:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration