[vdr] How to speed up vdr start ?

Stefan Huelswitt s.huelswitt at gmx.de
Tue Aug 16 19:20:46 CEST 2005


On 16 Aug 2005 "Christoph Hermanns" <Christoph.Hermanns at web.de> wrote:
> Am Tue, 9 Aug 2005 19:17:04 +0000 (UTC) schrieb Stefan Huelswitt  
> <s.huelswitt at gmx.de>:
> 
>> In runvdr I check for the existance of the trigger file:
>>
>> while [ -a /tmp/dvb-insmod ]; do
>>   sleep1
>>   done
>>
>> This way the vdr startup is delayd until the insmod is finished.
>> (may be there are mor sofisticated method to do this, but it
>> works).
> 
> I've tried this and it works with the trigger file, but it's about
> 10 seconds slower than without checking the existing of the trigger file.
> Strange...don't know....

Probably because without the trigger file, vdr start up before
the driver finished loading. If it works it's ok, but I saw the
risk that the driver is not "ready enough" and vdr startup fails.

Regards.

-- 
Stefan Huelswitt
s.huelswitt at gmx.de  | http://www.muempf.de/



More information about the vdr mailing list