Download your favorite Linux distribution at LQ ISO.
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 03-11-2006, 03:55 PM   #1
Registered: Dec 2002
Distribution: Debian
Posts: 154

Rep: Reputation: 30
undelete file that mplayer is still playing.

ok, I unrared a movie,started it in mplayer, it plays fine, then I deleted the rar files and accidentally the movie.avi file. mplayer is still playing the movie.
Question is how can I undelete the movie?
Old 03-11-2006, 08:36 PM   #2
Registered: Dec 2002
Distribution: Debian
Posts: 154

Original Poster
Rep: Reputation: 30
for posterity's sake and anyone else who might find themselves here.
First you need a goat, and a fire, and a stone table with the kernel source etched on its surface. chanting these you lead the goat into the fire...
#ps aux for the pid of mplayer
#lsof -p PID
and when the console breathes the filename of the movie you are playing it will also return the inode number of the deleted file
#debugfs /dev/deviceOfLostFile
#dump <inode_number> /another_filesystem/lostvid
Chase the flaming goat into the neighbors back yard while dancing arcane folk dances and screaming my name is Richard Stallman.

Last edited by h2gofast; 03-12-2006 at 10:26 AM.
Old 03-11-2006, 11:12 PM   #3
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
Ha, nice solution! Hope you do end up finding that goat...
Old 03-12-2006, 10:23 AM   #4
Registered: Dec 2002
Distribution: Debian
Posts: 154

Original Poster
Rep: Reputation: 30
I got the file back and the charred goat is hanging around the dumpsters at the local strip mall. It's the Penn Station Manager's problem now.


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
undelete file sy4 General 2 08-08-2004 10:25 AM
my mplayer can't drag when playing rm and rmvb file ty263 Linux - Software 1 04-18-2004 12:39 PM
MPlayer is not playing video File linuxeagle Linux - General 0 03-31-2004 10:14 AM
MPlayer Error playing ASF File scatterbrain Linux - Software 0 03-28-2004 03:24 PM
reiserfs file undelete Tafta Linux - Security 1 03-22-2004 05:09 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:42 AM.

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