ports/169287: [patch] sysutils/munin-node hdd_smartctl can't read ATACAM hdd

TAKEMON Takashi takemon at bamboogate.co.jp
Thu Jun 21 07:50:09 UTC 2012


>Number:         169287
>Category:       ports
>Synopsis:       [patch] sysutils/munin-node hdd_smartctl can't read ATACAM hdd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 21 07:50:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     TAKEMON Takashi
>Release:        8.3 RELEASE
>Organization:
Bamboogate Co.,Ltd
>Environment:
FreeBSD zfs.home.mousou.org 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr  9 21:23:18 UTC 2012     root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
 sysutils/munin-node hdd_smartctl plugin can't read ATACAM hdd.
I tryed to make patch this problem.


>How-To-Repeat:

>Fix:
--- ./plugins/node.d/hddtemp_smartctl.in.org    2012-06-21 12:09:10.960144507 +0900
+++ ./plugins/node.d/hddtemp_smartctl.in        2012-06-21 12:11:56.599922538 +0900
@@ -139,7 +139,7 @@
   # without probing them.
 } elsif ($^O eq 'freebsd') {
   opendir(DEV, '/dev');
-  @drives = grep /^ad[0-9]+$/, readdir DEV;
+  @drives = grep /^ad[0-9]+$|^ada[0-9]+$/, readdir DEV;
   closedir(DEV);
 } elsif ($^O eq 'solaris') {
   @drives = map { s at .*/@@ ; $_ } glob '/dev/rdsk/c*t*d*s2';


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list