Opened 5 years ago
Closed 5 years ago
#1217 closed patch (fixed)
Buffer length for message is not enough on macOS
Reported by: | mahori | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | Release 7.1 |
Component: | smartd | Version: | |
Keywords: | Cc: |
Description
DEVICESCAN is specified on macOS, devices are recognized as follows:
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@17/AppleIntelPchSeriesAHCI/PRT1@1/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice
Because the device name is too long, buffer length for message is not enough.
Example:
The following warning/error was logged by the smartd daemon: Device: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/RP21@1B,4/IOPP/PXSX@0/IOPP/pci-bridge@4/IOPP/pci-bridge@0/IOPP/pci-bridge@0/IOPP/pci1b21,625@0/AppleAHCI/PRT0@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice, ATA error count inc Device info: ST8000DM004-2CX188, S/N:WCT1NET7, WWN:5-000c50-0c00c0c0a, FW:0001, 8.00 TB
Attachments (1)
Change History (3)
by , 5 years ago
Attachment: | smartd.cpp.diff added |
---|
comment:1 by , 5 years ago
Milestone: | → Release 7.1 |
---|
Note:
See TracTickets
for help on using tickets.
Thanks!