Opened 14 years ago
Closed 14 years ago
#123 closed defect (fixed)
Option DEVISCAN does not work on OpenBSD >= 4.8
Reported by: | gbechis | Owned by: | Christian Franke |
---|---|---|---|
Priority: | major | Milestone: | Release 5.41 |
Component: | smartd | Version: | 5.40 |
Keywords: | openbsd | Cc: |
Description
With OpenBSD 4.8 the format of sysctl hw.disknames has changed, a patch is needed to handle the new format.
Attachments (1)
Change History (5)
by , 14 years ago
Attachment: | patch-os_openbsd_cpp added |
---|
comment:1 by , 14 years ago
Keywords: | openbsd added |
---|---|
Milestone: | → Release 5.41 |
Owner: | changed from | to
Status: | new → accepted |
comment:2 by , 14 years ago
Note:
See TracTickets
for help on using tickets.
Did you test the patch with more than one device present?
The
strtok(...":")
from the patch destroys the saved state of thestrtok(...",")
from the outer loop:The following may work: