[mythtv-users] Disk space is not freed from deleted recording until mythbackend exits

Jim O'Neill oneillji at gmail.com
Sat Aug 19 02:20:33 UTC 2006


Carl Fongheiser wrote:
> On 8/17/06, *Jim O'Neill* <oneillji at gmail.com 
> <mailto:oneillji at gmail.com>> wrote:
>
>     Out of curiosity, is there a Linux command or utility that
>     displays all
>     files open on the system and would this work for files that are
>     open but
>     have been deleted?
>
>
> lsof can do that, but it's hard to tell what you're looking at, since 
> the file no longer has a valid pathname.  (lsof will tell you the 
> filesystem name, though.)
>
> Carl Fongheiser
Thanks, Carl.  After playing around a little, the following will display 
the files that myth is 'deleting'.

lsof  | grep '(deleted)'




More information about the mythtv-users mailing list