recover deleted files/directory using the proc directory
 
*
Welcome, Guest. Please login or register. January 10, 2009, 01:29:15 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: recover deleted files/directory using the proc directory  (Read 1327 times)
0 Members and 1 Guest are viewing this topic.
Michael
Administrator
Hero Member
*****
Posts: 539


« Reply #3 on: April 30, 2007, 08:32:44 PM »

no problem. asking is what is important in times like these!

What they would be doing is using /proc/fs info, or output from lsof to display inode info of open files.

Once closed there is no info left in /proc to relink them. A proper filesystem literally clears (wipes) the inode when it is freed, so the starting point would be blank.

I am not saying it cannot be done, but it would require a set of programs that were able to read the raw filesystem, and some assistance from a knowledgeable 'agent' to put humpty dumpty back together again.
Logged
bull454
New Member
*
Posts: 2


« Reply #2 on: April 30, 2007, 06:46:46 PM »

there may not be a way, but someone told be once that they were able to go in and relink the files thus undeleting them basically... thought i would ask.. thnx
Logged
Michael
Administrator
Hero Member
*****
Posts: 539


« Reply #1 on: April 30, 2007, 03:59:53 PM »

I don't know of a way. I would be surprised if there was one.

AFAIK: The only time a file link (i.e. the inode) is not cleared immediately on any UNIX system is when the file is still open. Using a dup() call it might be possible to copy the file (giving it a new name and inode), but if it is closed, the inode is cleared and the metadata (inode and directory information, and by extension any /proc info) is removed from the system.
Logged
bull454
New Member
*
Posts: 2


« on: April 27, 2007, 05:15:44 PM »

Does anyone know how to recover a directory of deleted files on AIX 5.3 by using the information in the proc directory?
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.93 seconds with 18 queries.




eXTReMe Tracker

Terms of Use and Privacy and Security Policies
Copyright 2001-2008 Michael Felt and ROOTVG.NET