freebsd-ports/sysutils/smartmontools-devel/files/patch-knowndrives.cpp
Pav Lucistnik 4cac24ee80 - Fix smartd to detect drives if the first drive has two-digit number (like
ad10)
- Recognize some new Western Digital Caviar SE drives

PR:		ports/110806
Submitted by:	marck
2007-03-25 16:08:55 +00:00

14 lines
373 B
C++

$FreeBSD$
--- knowndrives.cpp.orig
+++ knowndrives.cpp
@@ -1031,7 +1031,7 @@
NULL, NULL, NULL, NULL
},
{ "Western Digital Caviar SE (Serial ATA) family",
- "^WDC WD((4|8|12|16|20|25|32)00JD|(12|16|20|25|30|32)00JS|1600AAJS)-.*$",
+ "^WDC WD((4|8|12|16|20|25|32)00[JP]D|(12|16|20|25|30|32)00JS|1600AAJS)-.*$",
".*",
NULL, NULL, NULL, NULL
},