Группа :: Мониторинг
Пакет: collectd
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: collectd-3.9.0-alt-hddtemp.patch
diff -Naur collectd-3.9.0-orig/src/hddtemp.c collectd-3.9.0/src/hddtemp.c
--- collectd-3.9.0-orig/src/hddtemp.c 2006-04-18 11:17:10 +0400
+++ collectd-3.9.0/src/hddtemp.c 2006-04-21 12:52:17 +0400
@@ -301,6 +301,8 @@
case SCSI_DISK5_MAJOR:
case SCSI_DISK6_MAJOR:
case SCSI_DISK7_MAJOR:
+ /* removed by mike@ -- absent in
+ * kernel-headers-std right now
case SCSI_DISK8_MAJOR:
case SCSI_DISK9_MAJOR:
case SCSI_DISK10_MAJOR:
@@ -309,6 +311,7 @@
case SCSI_DISK13_MAJOR:
case SCSI_DISK14_MAJOR:
case SCSI_DISK15_MAJOR:
+ */
/* SCSI disks minors are multiples of 16.
* Keep only those. */
if (minor % 16)