Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: running out of space during cutting



Manfred Schmidt-Voigt wrote:
> 
> ...
> > What could be done, too, is that AssertFreeDiskSpace() never tries
> > to delete recordings marked with '%', since these are obviously
> > edited versions and should therefore never be deleted automatically.
> > Would that be an idea?
> 
> I don't like that Idea because I often leave a recording with a % on
> the system and delete the original name manualy because of the lack of
> comfortable renaming possibility with a remote control.
> 
> What do you think about checking the oldest directory with the fuser
> command. It shows open files and the pids which are accessing the files.
> And if you find something then skip it.
> 
> Actual example:
> 
> stereo:~ # fuser /video/Der_König_von_Dulsberg/*/*
> /video/Der_K\37777777766nig_von_Dulsberg/2003-08-17.14.51.50.14.rec/001.vdr:  8869  8871  8872  8873  8886  8890  8891  9123  9124  9125
> /video/Der_K\37777777766nig_von_Dulsberg/2003-08-17.14.51.50.14.rec/index.vdr:  8869  8871  8872  8873  8886  8890  8891  9123  9124  9125

Do you know whether this information (a directory being used by some
other process) can be obtained without having to call an external
program (fuser)?

One problem I see here is that this doesn't seem to work with NFS
mounted volumes...

Klaus


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index