[mythtv-users] Auto-expire two files while recording two files

Chris Pinkham cpinkham at bc2va.org
Sat Jan 31 00:41:46 EST 2004


> I have my Myth box setup to record Letterman and Leno,
> and also to only keep the 2 most recent shows of each.
>  So when it starts recording the two shows, it detects
> that it can expire the oldest two.  So now, it's
> writing two MPEG-2 files from the PVR's, while
> deleting two large MPEG-2 files from the drive and
> this causes blocking every night, consistently and
> repeatably.  (and somewhat understandably).  So my
> question is, is there anyway to either run the expire
> process at a later time, or at a lower priority to
> solve this?

Not much that can be done in Myth about this.  I believe Myth is
effectively just using the unlink() system call which causes
the kernel to delete the file.  Since the deletion is run
inside the kernel you can't "nice" it or anything.

I'd investigate different filesystems and maybe run some
tests on your own machine.  There's been quite a few discussions
on the mailing list about ext[23] vs reiser vs
insert-your-favorite-filesystem-name-here.

-- 

Chris



More information about the mythtv-users mailing list