View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Aug 06, 2007 8:36 am 
Offline
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location: Minneapolis, MN
I've got "delete files slowly" enabled in my KM box.

How is the slow delete being accomplished? Is it a command line switch that is part of the "rm" command or is this something that Mythtv is doing/managing on it's own? What are the inner workings of the slow delete process?

I wonder if a slow delete can be done from a command line. Such as:
Code:
# rm /myth/video/file.mpg" -slow

_________________
KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 06, 2007 5:14 pm 
Offline
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location: Sydney, Australia
MythTV has code to do it. There is no magical 'rm' option.

_________________
| Nigel Pearson, nigel.pearson.au@gmail.com
| "Things you own end up owning you" - Tyler, Fight Club


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 13, 2007 12:56 pm 
Offline
Joined: Sat May 26, 2007 9:51 pm
Posts: 130
Doing a quick search on google I found this snippet (not sure about the validity):

Quote:
...Delete the files in Myth, which uses a "delete slowly" function
> to avoid locking up the machine for the 30-60 seconds that this would
> otherwise require. Myth appears to open the file, unlink it, and then
> sit in a loop doing small ftruncate's until nothing is left.


Source: Link


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 28 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu