<div dir="ltr"><div>Hello!</div><div><br></div><div>I have installed a disk that is not
 recognised, but I believe it has the same attributes as a model that is
 in the database. I previously installed the same make and model 
(apparently) in another computer which is recognised, but this one 
identifies its model differently. I tried updating the DB to the trunk 
version and this is the output of "smartctl -i":</div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">=== START OF INFORMATION SECTION ===<br>Device Model:     WD Blue SA510 2.5 500GB<br>Serial Number:    222141804429<br>LU WWN Device Id: 5 001b44 8b0b68083<br>Firmware Version: 52008100<br>User Capacity:    500,107,862,016 bytes [500 GB]<br>Sector Size:      512 bytes logical/physical<br>Rotation Rate:    Solid State Device<br>Form Factor:      2.5 inches<br>TRIM Command:     Available, deterministic<br>Device is:        Not in smartctl database<br>ATA Version is:   ACS-4, ACS-2 T13/2015-D revision 3<br>SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)<br>Local Time is:    Wed Apr  5 00:08:42 2023 BST<br>SMART support is: Available - device has SMART capability.<br>SMART support is: Enabled</span></div><div><br></div><div>I
 manually edited the drivedb.h file to match this drive and the 
attributes provided by "smartctl -A" now match the other computer's 
drive (and appear to make sense). Here is the diff:</div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">--- drivedb.h   2023-04-05 00:08:34.000000000 +0100<br>+++ drivedb.h-updated   2023-04-05 00:06:12.000000000 +0100<br>@@ -4681,6 +4681,7 @@<br>       // WDC WDBNCE2500PNC/X61130WD, WDC WDBNCE0010PNC-WRSN/X41110WD,<br>       // WDC  WDS200T1R0A-68A4W0/411000WR, WDC  WDS400T1R0A-68A4W0/411000WR<br>     "WDC WDBNCE(250|500|00[124])0PNC(-.*)?|" // Blue 3D<br>+    "WD Blue SA510 2.5 500GB|"<br>     "WDC  ?WDS((120|240|250|480|500)G|[124]00T)(1B|2B|1G|2G|1R)0[AB](-.*)?",<br>       // *B* = Blue, *G* = Green, *2B* = Blue 3D NAND, *1R* = Red SA500<br>     "", "",</span></div><div><br></div><div>Obviously my RE is very specific, I am not sure how other variants identify themselves. But I hope this helps.</div><div><br></div><div>This is an invaluable tool. Thank you for your time and effort in maintaining it!<font color="#888888"><br></font></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Mike Squire<br><a href="mailto:mike.squire@gmail.com" target="_blank">mike.squire@gmail.com</a></div></div>