[mythtv] Proposed alternate behaviour for show delete

Brad Templeton brad+mydev at templetons.com
Wed Mar 9 19:15:43 UTC 2005


On Wed, Mar 09, 2005 at 08:01:09AM -0600, Kevin Kuphal wrote:
> My only issue with this is that it effectively puts every system into a 
> "full" disk situation.  The system will naturally now fill up to use all 
> space up to the autoexpire threshold.  If you share this space with your 
> music, videos, or other content, you make it more difficult for users to 
> add Videos or music to the system.  With the disk essentially full, you 
> now have to go delete things (again) in order to free up enough space to 
> add things.
> 
> I think if there was at minimum an option for "Permanently delete on 
> delete" to keep the existing behavior, I wouldn't see a problem with 
> adding the feature.

Another thought which occurs is to have a larger threshold when deleting
such flagged-for-deletes, so that while autoexpire normally tries to keep
say 2GB free (or however you set it) it works to keep a larger number free
(like 6GB, also settable) when deleting items that were manually marked for
deletion.

This way there is always a buffer of space, and as your dvd or cd ripper
adds files to the pool, that buffer is grown every 10 minutes as autoexpire
runs.

This reduces the undoability of delete if you are close to "really" full of
non-deleted programs, and requires a touch more work, but might be the
right answer that would interfere with nobody.    And you would still
have a short time to undo your delete.  (To do this perfectly and always
allow a few minutes of undo, you would need something a touch messier, some
timestamp indicating when the manual delete was commanded so you wait at
least a minute before removing the space.)



More information about the mythtv-dev mailing list