Johnnie Black
Guru
- Joined
- May 10, 2017
- Messages
- 838
Yes, it is possible to modify the script to ignore SSDs. I did that exact mod with my adaptation of @Stux's script. On my version of the script, I modified the code in sub get_hd_list to remove SSDs. On my system, the following line works in that subroutine (I added the 'grep -v "SSD" ' to remove lines with "SSD" from the disk list):
Cool, I believe that using "SSD" will work for me as well.
Code:
<ATA WDC WD40EZRZ-00G 0A80> at scbus0 target 8 lun 0 (pass0,da0) <ATA WDC WD40EZRZ-00G 0A80> at scbus0 target 9 lun 0 (pass1,da1) <ATA WDC WD40EZRZ-00G 0A80> at scbus0 target 10 lun 0 (pass2,da2) <ATA WDC WD40EZRZ-00G 0A80> at scbus0 target 11 lun 0 (pass3,da3) <ATA WDC WD40EZRZ-00G 0A80> at scbus0 target 12 lun 0 (pass4,da4) <ATA WDC WD40EZRZ-00G 0A80> at scbus0 target 13 lun 0 (pass5,da5) <ATA WDC WD40EZRZ-00G 0A80> at scbus0 target 14 lun 0 (pass6,da6) <ATA WDC WD40EZRZ-00G 0A80> at scbus0 target 15 lun 0 (pass7,da7) <CT250MX500SSD1 M3CR010> at scbus1 target 0 lun 0 (pass8,ada0) <CT250MX500SSD1 M3CR010> at scbus2 target 0 lun 0 (pass9,ada1) <CT250MX500SSD1 M3CR010> at scbus3 target 0 lun 0 (pass10,ada2) <CT250MX500SSD1 M3CR010> at scbus4 target 0 lun 0 (pass11,ada3) <CT250MX500SSD1 M3CR010> at scbus5 target 0 lun 0 (pass12,ada4) <CT250MX500SSD1 M3CR010> at scbus6 target 0 lun 0 (pass13,ada5) <CT250MX500SSD1 M3CR010> at scbus7 target 0 lun 0 (pass14,ada6) <CT250MX500SSD1 M3CR010> at scbus8 target 0 lun 0 (pass15,ada7) <CT250MX500SSD1 M3CR010> at scbus9 target 0 lun 0 (pass16,ada8) <CT250MX500SSD1 M3CR010> at scbus10 target 0 lun 0 (pass17,ada9) <CT250MX500SSD1 M3CR010> at scbus11 target 0 lun 0 (pass18,ada10) <CT250MX500SSD1 M3CR010> at scbus12 target 0 lun 0 (pass19,ada11)