LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-25-2012, 05:56 AM   #1
Mark_667
Member
 
Registered: Aug 2005
Location: Manchester, England
Distribution: Ubuntu 14.10
Posts: 264

Rep: Reputation: 25
Sorting photorec output


I have an old Solaris disk that I tried to clone but which is now unbootable (it's listed as having a MS-DOS filesystem), though the data itself shouldn't have been overwritten. Photorec seems to have recovered a lot (to a different disk) but all the filenames now consist of inode numbers and I don't know where they came from in the disk structure. Is there any way to find out what the original file names were or where they came from?

Last edited by Mark_667; 05-25-2012 at 07:49 AM. Reason: Added more detail.
 
Old 05-25-2012, 06:01 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,601
Blog Entries: 2

Rep: Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060
Short answer: No.
Long answer: Depends on the type of files. For example, if it are mp3-files you can read out the ID3-tags for information, JPEGs can contain information about the file in EXIF data, ... . Other than that I think you are out of luck.
 
Old 05-25-2012, 06:33 AM   #3
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,953

Rep: Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309
you can try also the command file, it may identify executables and text files. Also you can try strings to see what is inside in a binary and you may guess. Is there any specific you are searching for? You can also try to read the disk with linux, it may have driver (ufs).

Last edited by pan64; 05-26-2012 at 10:36 AM. Reason: typo
 
Old 05-25-2012, 07:47 AM   #4
Mark_667
Member
 
Registered: Aug 2005
Location: Manchester, England
Distribution: Ubuntu 14.10
Posts: 264

Original Poster
Rep: Reputation: 25
I've found an interesting piece of code:

Code:
$> time find /export -inum 2590784  -xdev -fstype ufs -print 2>/dev/null
/export/<full_path>/abc.rdb
 
real    0m16.28s
user    0m1.56s
sys     0m13.36s
http://www.unix.com/shell-programmin...ch-faster.html

Could this be useful?

Last edited by Mark_667; 05-25-2012 at 07:48 AM. Reason: typo
 
  


Reply

Tags
data recovery, photorec


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
Sorting GREP output UnixNewbie91 Linux - Newbie 1 04-28-2012 10:01 AM
[SOLVED] Sorting output by a column with numbers AND letters. velocity_girl Linux - Newbie 13 06-09-2011 01:03 AM
[SOLVED] Sorting output of du. stf92 Linux - Newbie 5 03-30-2010 06:37 AM
Sorting data in output file lluciano Linux - General 2 08-19-2005 10:37 AM
Sorting of multi-column output rytrom Linux - Newbie 11 09-15-2003 11:31 AM


All times are GMT -5. The time now is 11:55 PM.

Main Menu
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