Author Topic: Elvis File Recovery Question  (Read 3273 times)

sdjf

  • Sr. Member
  • ****
  • Posts: 447
    • View Profile
    • http://www.sdjf.wordpress.com and http://www.sdjf.esmartdesign.com
Elvis File Recovery Question
« on: December 25, 2005, 09:33:44 am »
Can someone tell me how to recover files that were in the command line editor when it terminated unexpectedly?

They always are  in  the  /tmp directory

and have names starting with elv.  Sorry I can't give exact format of file names but don't have any there now.  Have tried viewing them as text and they clearly are machine code of some sort.  Googling at the time I had them didn't help as our filenames are different than what I found.

Thanks!

sdjf
http://www.sdjf.esmartdesign.com
http://www.sdjf.wordpress.com
-----------------
sl5500 running Sharp ROM 2.38 (dead batteries)
sl6000L running Sharp ROM 1.12 (still working)
Opera 7.25 and 7.30
Socket CF 56k modem
3Com USB Ethernet Adapter
Toshiba, Lexar and Kingston SD cards
Lexar, Kingston and Transcend CF cards

dtruchan

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
    • http://
Elvis File Recovery Question
« Reply #1 on: December 25, 2005, 10:41:59 am »
Have a look here.
860 Debian EABI
Lexar Cards
WCF11 v2.5
Mittoni SD-CF Adapter
Gentoo

sdjf

  • Sr. Member
  • ****
  • Posts: 447
    • View Profile
    • http://www.sdjf.wordpress.com and http://www.sdjf.esmartdesign.com
Elvis File Recovery Question
« Reply #2 on: December 25, 2005, 11:06:37 am »
Little red haired girl page makes more sense than the other pages I found.  Saved page image and will test it next time it occurs.

BTW, where are the system files it mentions?  Haven't seen anything resembling the file names it mentions.

Thank you,
sdjf
http://www.sdjf.esmartdesign.com
http://www.sdjf.wordpress.com
-----------------
sl5500 running Sharp ROM 2.38 (dead batteries)
sl6000L running Sharp ROM 1.12 (still working)
Opera 7.25 and 7.30
Socket CF 56k modem
3Com USB Ethernet Adapter
Toshiba, Lexar and Kingston SD cards
Lexar, Kingston and Transcend CF cards

sdjf

  • Sr. Member
  • ****
  • Posts: 447
    • View Profile
    • http://www.sdjf.wordpress.com and http://www.sdjf.esmartdesign.com
Elvis File Recovery Question
« Reply #3 on: January 26, 2006, 01:08:32 pm »
Quote
Have a look here.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=108446\"][{POST_SNAPBACK}][/a][/div]

I did and it didn't help.  I have elvis vers. 1.4 and the commands suggested like :buffer which was not recognized by either elvis or bash,  and also using the -r option didn't work.

Here's some of my activity:

bash-2.05# elvis -vvv
"/tmp/elv00dc31f01" is busy
bash-2.05# which elvis.ini
bash-2.05# elvis -r -Gquit
Use the `virec` program to recover lost files
bash-2.05# elvis  -Gquit
"/tmp/elv00dc31f01" is busy  

bash-2.05#                          
bash-2.05# vi -help
"/tmp/elv00dc31f01" is busy
bash-2.05#
bash-2.05# virec
bash: virec: command not found
bash-2.05#
bash-2.05# vi
"/tmp/elv00dc31f01" is busy
bash-2.05# elvis
"/tmp/elv00dc31f01" is busy
bash-2.05#      


Suggestion to edit elvis.ini useless as:

bash-2.05# find elvis.ini
find: elvis.ini: No such file or directory
bash-2.05#                                  
           
What next?

sdjf
http://www.sdjf.esmartdesign.com
http://www.sdjf.wordpress.com
-----------------
sl5500 running Sharp ROM 2.38 (dead batteries)
sl6000L running Sharp ROM 1.12 (still working)
Opera 7.25 and 7.30
Socket CF 56k modem
3Com USB Ethernet Adapter
Toshiba, Lexar and Kingston SD cards
Lexar, Kingston and Transcend CF cards

JohnX

  • Full Member
  • ***
  • Posts: 126
    • View Profile
    • http://
Elvis File Recovery Question
« Reply #4 on: January 26, 2006, 04:50:17 pm »
You might try running:
Code: [Select]
find / -name elvis.ini
Zaurus SL-C1000 - Linux 2.6.22 - Angstrom/Debian dual boot - Ambicom 802.11b - 1GB Corsair SD
Nokia N800 - 2GB PQI SD card
Zaurus SL-5500 - OZ 3.5.3/Hentges T2/Opie - 64MB Lexar SD card

sdjf

  • Sr. Member
  • ****
  • Posts: 447
    • View Profile
    • http://www.sdjf.wordpress.com and http://www.sdjf.esmartdesign.com
Elvis File Recovery Question
« Reply #5 on: January 26, 2006, 06:13:30 pm »
Yep, did it...and now what? It's gotta have another name or maybe could it just be binary?

bash-2.05# find / -name elvis.ini
find: /proc/12/fd: No such file or directory
bash-2.05#    

tried with vi.ini for the heck of it, and same results:

bash-2.05# find / -name vi.ini
find: /proc/12/fd: No such file or directory
bash-2.05#

And here's proof the code was okay, hunting for a file I know I have.

bash-2.05# find / -name opera.ini
/home/root/.opera/opera.ini
find: /proc/12/fd: No such file or directory
bash-2.05#  

Tried looking in /dev but that just got rid of the  /proc/12/fd message:

bash-2.05# find //dev/  -name elvis.ini
bash-2.05#                                    
                                                                 
sdjf
http://www.sdjf.esmartdesign.com
http://www.sdjf.wordpress.com
-----------------
sl5500 running Sharp ROM 2.38 (dead batteries)
sl6000L running Sharp ROM 1.12 (still working)
Opera 7.25 and 7.30
Socket CF 56k modem
3Com USB Ethernet Adapter
Toshiba, Lexar and Kingston SD cards
Lexar, Kingston and Transcend CF cards