Skip to content

Instantly share code, notes, and snippets.

@porteusconf
Created January 3, 2023 22:50
Show Gist options
  • Save porteusconf/16193d2e9514e77f037e87e292cbb47b to your computer and use it in GitHub Desktop.
Save porteusconf/16193d2e9514e77f037e87e292cbb47b to your computer and use it in GitHub Desktop.
2 lines added to drivedb.h to support my old (2011-era hacked? 1TB SSD) "OWC Mercury Extreme Pro 6G" with firmware SCFM13.2
## In 2022 I bought a 1tb used SSD on ebay. I needed to add two lines to drivedb.h so smartctl would find it info for it:
cat << EOF
### Add two lines to drivedb.sh shown with (+) in diff output below.
### after adding the 2 lines, your diff output should be similar
### bash-3.2$ diff -C drivedb-oem.h drivedb-owc.h
"OWC Aura Pro( 6G SSD)?|" // tested with OWC Aura Pro 6G SSD/507ABBF0, OWC Aura Pro/603ABBF0
"OWC Mercury Electra (Pro )?[36]G SSD|" // tested with
// OWC Mercury Electra 6G SSD/502ABBF0, OWC Mercury Electra Pro 3G SSD/541ABBF0
+ "OWC Mercury Extreme Pro 6G|" // tested with
+ // OWC Mercury Extreme Pro 6G SSD/507ABBF0
"OWC Mercury E(xtreme|XTREME) Pro (6G |RE )?SSD|" // tested with
// OWC Mercury Extreme Pro SSD/360A13F0, OWC Mercury EXTREME Pro 6G SSD/507ABBF0
"Patriot Pyro|" // tested with Patriot Pyro/332ABBF0
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment