Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-13-2008, 01:08 AM   #1
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, 02:11 AM   #2
LQ Newbie
Registered: Jun 2006
Location: Austria
Distribution: RHEL AS 4
Posts: 26

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, 02:53 AM   #3
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, 04:36 AM   #4
LQ Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
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 04:37 AM.


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 08:39 AM
Western Digital My Book Ext3 format reports "Ext3-fs: Journal inode is deleted" ChronusDark Linux - Desktop 3 10-31-2006 03:56 PM
access file using inode number? allasso Linux - General 1 09-26-2006 09:14 PM
need to recover data in a deleted inode wilsonsamm Linux - General 6 08-30-2006 11:34 AM
Directory access denied to root user: inode hack? netmar Linux - Security 2 07-31-2004 04:53 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:40 PM.

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