LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-24-2010, 11:31 AM   #1
sumeet inani
Member
 
Registered: Oct 2008
Posts: 902
Blog Entries: 26

Rep: Reputation: 49
totem playing media file not present there


I am using ubuntu 8.04.
I played an mp3 in totem & meanwhile moved that file to another location.
Still I can move slider in totem to rewind or forward the song.
Only after the song has been played completely I get message 'location not found'.
Does that mean totem copies song into RAM so that it does not have to trouble hard disk for access during entire duration ?
 
Old 05-24-2010, 12:09 PM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
Quote:
Does that mean totem copies song into RAM so that it does not have to trouble hard disk for access during entire duration ?
Not necessarily.

More likely is that totem's "file handle" is still pointing at the file's first inode on disk, and it can find the rest from there.

When you move a file, it doesn't really move, but its directory entries are updated to reflect the "new" location. That's why mv is so much faster than cp ( try moving a big file, then try copying it somewhere else [both locations to be on the same partition please]).

Even of you moved the file to a different partition (which does mean the file really is moved [think about why it has to be]), totem would continue to play it as the old data is still where it was, until the filesystem decides to use that "empty" space and overwrite it.
 
Old 05-24-2010, 12:25 PM   #3
sumeet inani
Member
 
Registered: Oct 2008
Posts: 902
Blog Entries: 26

Original Poster
Rep: Reputation: 49
very well said tredegar
 
  


Reply


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
Totem playing .avi file displays crazy psychodelic colors masuter Linux - Software 4 02-01-2009 11:53 PM
Having Trouble Playing WMV and AVI files in Totem Media Player cajunaggie Linux - Software 12 10-29-2007 02:45 PM
Media player output text file for now playing Berticus Linux - Software 0 08-05-2006 12:05 AM
Totem playing off of network, Xine playing local iammike Ubuntu 0 04-30-2005 12:43 PM
Playing WMA-files in Totem Media Player thort Linux - Newbie 25 11-04-2004 09:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:56 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration