This will turn of the 'media check' which polls the IDE device every 2 seconds to see if a CD is inserted. None of these systems have anything listening to HAL events, nor will have removable media inserted, so we can safely ignore the events.$ cat /etc/hal/fdi/information/disable-polling.fdi
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="storage.media_check_enabled" bool="true">
<merge key="storage.media_check_enabled" type="bool">false</merge>
</match>
</device>
</deviceinfo>
hal-disable-polling is an ''interesting'' program. C programmers doing this stuff should really get an XML library that's useful, and actually use it. Using fprintf for emitting xml isn't kosher :(
1 comment:
واحدة من أكبر الشركات التي تطبق معايير الكفاءة والجودة الدولية التي يسعى العميل إلى البحث عنها. في رش وإبادة الحشرات وكذلك استخدام أقوى أنواع المبيدات الحشرية التي تأتي بنتائج فعالة خلال الجلسة الأولى.
شركة مكافحة النمل الابيض بالقصيم
شركة مكافحة حشرات بالقصيم
شركة رش مبيدات بالقصيم
شركة الانوار لمكافحة الحشرات
Post a Comment